comparison src/insn_logicmem.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 b29eec6f3819
children 8929e1ee99cf
comparison
equal deleted inserted replaced
36:99e3b3310bac 37:538e15927776
38 lwasm_expr_stack_t *s; 38 lwasm_expr_stack_t *s;
39 39
40 if (**p == '#') 40 if (**p == '#')
41 (*p)++; 41 (*p)++;
42 42
43 s = lwasm_expr_eval(*p, &p2); 43 s = lwasm_evaluate_expr(as, l, *p, &p2);
44 *p = (char *)p2; 44 *p = (char *)p2;
45 45
46 if (!s) 46 if (!s)
47 { 47 {
48 register_error(as, l, 1, "Bad expression"); 48 register_error(as, l, 1, "Bad expression");