comparison src/insn_indexed.c @ 84:e12edcfbebd5

Fixed problem with expression evaluation infrastructure not advancing input pointer on pass 2
author lost
date Wed, 14 Jan 2009 07:04:45 +0000
parents b6b1e79cc277
children f59c0916753d
comparison
equal deleted inserted replaced
83:964d68cde469 84:e12edcfbebd5
123 { 123 {
124 // extended indir 124 // extended indir
125 *b1 = 0x9f; 125 *b1 = 0x9f;
126 *b2 = 0; 126 *b2 = 0;
127 *b3 = 0; 127 *b3 = 0;
128
129 r = lwasm_expr_result2(as, l, (char **)p, 0, &v, 0); 128 r = lwasm_expr_result2(as, l, (char **)p, 0, &v, 0);
130 if (r < 0) 129 if (r < 0)
131 { 130 {
132 return; 131 return;
133 } 132 }
134
135 if (**p != ']') 133 if (**p != ']')
136 { 134 {
137 register_error(as, l, 1, "Bad operand"); 135 register_error(as, l, 1, "Bad operand");
138 return; 136 return;
139 } 137 }