Fix if-else without braces
This commit is contained in:
@@ -3219,6 +3219,11 @@ parse_statement (void)
|
|||||||
STACK_DROP (toks, 1);
|
STACK_DROP (toks, 1);
|
||||||
parse_expression ();
|
parse_expression ();
|
||||||
STACK_DROP (IDX, 1);
|
STACK_DROP (IDX, 1);
|
||||||
|
skip_newlines ();
|
||||||
|
if (!token_is (TOK_SEMICOLON))
|
||||||
|
{
|
||||||
|
lexer_save_token (TOK ());
|
||||||
|
}
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user