mirror of
https://github.com/dschmenk/PLASMA.git
synced 2025-08-07 18:25:03 +00:00
Sanbox broken with w->[x] = ??. plasm broken with w->2 = ??
This commit is contained in:
@@ -638,6 +638,12 @@ int parse_value(int rvalue)
|
||||
ref_type = (scantoken == PTRB_TOKEN) ? BPTR_TYPE : WPTR_TYPE;
|
||||
if (!parse_const(&ref_offset))
|
||||
scan_rewind(tokenstr);
|
||||
if (ref_offset != 0)
|
||||
{
|
||||
emit_const(ref_offset);
|
||||
emit_op(ADD_TOKEN);
|
||||
ref_offset = 0;
|
||||
}
|
||||
break;
|
||||
case DOT_TOKEN:
|
||||
case COLON_TOKEN:
|
||||
|
@@ -3290,8 +3290,6 @@ def parse_value(rvalue)
|
||||
emit_op($02)
|
||||
ref_offset = 0
|
||||
fin
|
||||
if ref_type & BPTR_TYPE; emit_lb
|
||||
elsif ref_type & WPTR_TYPE; emit_lw; fin
|
||||
fin
|
||||
while parse_expr
|
||||
if token <> COMMA_TKN
|
||||
|
Reference in New Issue
Block a user