comparison lwasm/pseudo.c @ 114:707eda49ad60

Fix parsing padding argument for align pseudo op
author lost@l-w.ca
date Sun, 07 Aug 2011 12:41:06 -0600
parents 5bf9edabd661
children 4cf44ff89b08
comparison
equal deleted inserted replaced
113:7e621e00b887 114:707eda49ad60
1229 1229
1230 lwasm_save_expr(l, 0, e); 1230 lwasm_save_expr(l, 0, e);
1231 1231
1232 if (**p == ',') 1232 if (**p == ',')
1233 { 1233 {
1234 (*p)++;
1234 e = lwasm_parse_expr(as, p); 1235 e = lwasm_parse_expr(as, p);
1235 } 1236 }
1236 else 1237 else
1237 { 1238 {
1238 e = lw_expr_build(lw_expr_type_int, 0); 1239 e = lw_expr_build(lw_expr_type_int, 0);