Remove repetition from language spec descriptions
This commit is contained in:
parent
38ad248a53
commit
8134b64d00
14 changed files with 250 additions and 71 deletions
|
|
@ -1,19 +1,25 @@
|
|||
==========================================
|
||||
recovers from errors in function calls
|
||||
errors in function calls
|
||||
==========================================
|
||||
|
||||
stuff(|||);
|
||||
|
||||
---
|
||||
|
||||
(expression_statement (function_call (identifier) (ERROR '|')))
|
||||
|
||||
==========================================
|
||||
recovers from errors in if statements
|
||||
errors in if statements
|
||||
==========================================
|
||||
|
||||
stuff();
|
||||
if (*nonsense*) {
|
||||
*more-nonsense*;
|
||||
}
|
||||
moreStuff();
|
||||
|
||||
---
|
||||
|
||||
(program
|
||||
(expression_statement (function_call (identifier)))
|
||||
(if_statement (ERROR '*')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue