Mercurial > hg-old > index.cgi
diff lwasm/insn_logicmem.c @ 439:b8549694b4c9 3.0
Fixed errors related to lw_expr_t; fixed saving expression in insn_parse_logicmem()
author | lost@l-w.ca |
---|---|
date | Sat, 30 Oct 2010 10:41:52 -0600 |
parents | eacdae8a1575 |
children |
line wrap: on
line diff
--- a/lwasm/insn_logicmem.c Sat Oct 30 10:40:26 2010 -0600 +++ b/lwasm/insn_logicmem.c Sat Oct 30 10:41:52 2010 -0600 @@ -38,7 +38,7 @@ PARSEFUNC(insn_parse_logicmem) { const char *p2; - lw_expr_t *s; + lw_expr_t s; if (**p == '#') (*p)++; @@ -50,7 +50,7 @@ return; } - lwasm_save_expr(l, 100, p); + lwasm_save_expr(l, 100, s); if (**p != ',' && **p != ';') { lwasm_register_error(as, l, "Bad operand");