Add another fix for the parse bug and a test

This commit is contained in:
Gavin Howard 2020-06-10 23:42:20 -06:00
parent 6a56dc7535
commit 54c0facdce
Signed by: gavin
GPG Key ID: C08038BDF280D33E
2 changed files with 2 additions and 0 deletions

View File

@ -1332,6 +1332,7 @@ static BcParseStatus bc_parse_expr_err(BcParse *p, uint8_t flags,
flags & ~BC_PARSE_NOCALL);
rprn = (prev == BC_INST_CALL);
nexprs += 1;
flags &= ~(BC_PARSE_ARRAY);
break;
}

View File

@ -233,6 +233,7 @@ bytes(1) + 4
4e-4.2
a[2^63] = 1
ibase = 100
length(l[] + i[])
length("string")
abs("string")
abs(a[])