Ticket #102: imcc_cpu_ret_patch.patch

File imcc_cpu_ret_patch.patch, 0.5 KB (added by whiteknight, 6 years ago)

quick'n'dirty patch for this

  • compilers/imcc/imcc.l

     
    618618        return REG; 
    619619    } 
    620620 
     621<emit,INITIAL>"cpu_ret" { 
     622        Parrot_ex_throw_from_c_args(IMCC_INFO(interp), NULL, 1, 
     623            "cpu_ret opcode is reserved and should never be used directly"); 
     624    } 
     625             
     626 
    621627<emit,INITIAL>{ID} { 
    622628        if (!is_def) { 
    623629            SymReg *r = find_sym(interp, yytext);