Fix parsing of assignment expressions without assignment operator.
This commit is contained in:
@@ -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