diff options
| author | Camil Staps | 2017-07-19 13:00:34 +0000 |
|---|---|---|
| committer | Camil Staps | 2017-07-19 13:00:34 +0000 |
| commit | dca36e54177d9b6f18343b01b6957e24186d2528 (patch) | |
| tree | 18c3d74a6ef40b67a8b14ce1fff6290910004752 | |
| parent | Add while and ! to printer (diff) | |
Update grammar: no semicolon after while / if
| -rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -21,8 +21,8 @@ or can be interpreted with the [ABCMachine][abc-github] project. | 'return' [<Expression>] ';' | 'if' '(' <Expression> ')' '{' <CodeBlock> '}' ['else' 'if' '(' <Expression> ')' '{' <CodeBlock> '}']-list - ['else' '{' <CodeBlock> '}'] ';' - | 'while' '(' <Expression> ')' '{' <CodeBlock> '}' ';' + ['else' '{' <CodeBlock> '}'] + | 'while' '(' <Expression> ')' '{' <CodeBlock> '}' | '|~' <MachineCode> <Expression> ::= <Name> |
