Fix parsing of assignment expressions without assignment operator.
This commit is contained in:
1 parent
0a4616b65f
commit
05a2224faa
1 file changed
+4
@@ -2024,6 +2024,10 @@ parse_assignment_expression (void)
|
|||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
{
|
{
|
||||||
|
if (STACK_HEAD (U8, 1))
|
||||||
|
{
|
||||||
|
STACK_DROP (U16, 1);
|
||||||
|
}
|
||||||
lexer_save_token (TOK ());
|
lexer_save_token (TOK ());
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user