Mercurial > hg-old > index.cgi
diff src/pseudo.c @ 94:83ba34ed11b3
Fixed problem with constant expressions evaluating to 0 when they shouldn't
author | lost |
---|---|
date | Sat, 17 Jan 2009 06:50:49 +0000 |
parents | 6097cb1486f8 |
children | f3497072ac44 |
line wrap: on
line diff
--- a/src/pseudo.c Sat Jan 17 06:27:01 2009 +0000 +++ b/src/pseudo.c Sat Jan 17 06:50:49 2009 +0000 @@ -130,8 +130,7 @@ as -> addr += l -> nocodelen; return; } - - r = lwasm_expr_result2(as, l, p, EXPR_PASS1CONST, &v, 0); + r = lwasm_expr_result2(as, l, p, EXPR_PASS1CONST, &v, -1); if (r != 0) return; l -> nocodelen = v;