aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorCamil Staps2017-07-19 13:00:34 +0000
committerCamil Staps2017-07-19 13:00:34 +0000
commitdca36e54177d9b6f18343b01b6957e24186d2528 (patch)
tree18c3d74a6ef40b67a8b14ce1fff6290910004752 /README.md
parentAdd while and ! to printer (diff)
Update grammar: no semicolon after while / if
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 7d773fc..299f733 100644
--- a/README.md
+++ b/README.md
@@ -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>