Mercurial > hg-old > index.cgi
diff src/insn_rel.c @ 37:538e15927776
Added symbol handling to expression subsystem; adpated instruction handlers to the new scheme; misc fixes
author | lost |
---|---|
date | Sat, 03 Jan 2009 04:20:49 +0000 |
parents | 74a3fef7c8d0 |
children | 89657cb3fdf8 |
line wrap: on
line diff
--- a/src/insn_rel.c Fri Jan 02 06:07:40 2009 +0000 +++ b/src/insn_rel.c Sat Jan 03 04:20:49 2009 +0000 @@ -37,7 +37,7 @@ lwasm_emitop(as, l, instab[opnum].ops[0]); - s = lwasm_expr_eval(*p, NULL); + s = lwasm_evaluate_expr(as, l, *p, NULL); if (!s) { register_error(as, l, 1, "Bad operand"); @@ -62,7 +62,7 @@ lwasm_emitop(as, l, instab[opnum].ops[0]); - s = lwasm_expr_eval(*p, NULL); + s = lwasm_evaluate_expr(as, l, *p, NULL); if (!s) { register_error(as, l, 1, "Bad operand");