Remove repetition from language spec descriptions

This commit is contained in:
Max Brunsfeld 2014-10-19 12:36:43 -07:00
parent 38ad248a53
commit 8134b64d00
14 changed files with 250 additions and 71 deletions

View file

@ -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 '*')