14 lines
374 B
Text
14 lines
374 B
Text
==========================================
|
|
recovers from errors in if statements
|
|
==========================================
|
|
stuff();
|
|
if (*nonsense*) {
|
|
*more-nonsense*;
|
|
}
|
|
moreStuff();
|
|
---
|
|
(program
|
|
(expression_statement (function_call (identifier)))
|
|
(if_statement (ERROR)
|
|
(statement_block (ERROR)))
|
|
(expression_statement (function_call (identifier))))
|