Mercurial > hg > index.cgi
comparison lwasm/pass6.c @ 160:02804b7c051c
Don't error out on dlen set and len not for insn length resolution
author | lost@l-w.ca |
---|---|
date | Sun, 28 Aug 2011 14:17:33 -0600 |
parents | 2c24602be78f |
children | 8764142b3192 |
comparison
equal
deleted
inserted
replaced
159:8967eb907324 | 160:02804b7c051c |
---|---|
81 for (le = cl -> exprs; le; le = le -> next) | 81 for (le = cl -> exprs; le; le = le -> next) |
82 { | 82 { |
83 lwasm_reduce_expr(as, le -> expr); | 83 lwasm_reduce_expr(as, le -> expr); |
84 if (!exprok(as, le -> expr)) | 84 if (!exprok(as, le -> expr)) |
85 { | 85 { |
86 lwasm_register_error(as, cl, "Invalid expression"); | 86 lwasm_register_error(as, cl, "Invalid expression: %s", lw_expr_print(le -> expr)); |
87 } | 87 } |
88 } | 88 } |
89 } | 89 } |
90 } | 90 } |