aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorCamil Staps2017-07-19 12:25:45 +0000
committerCamil Staps2017-07-19 12:25:45 +0000
commit2788df88e6261ac641adf9f39bbfe517a7d77d9c (patch)
tree49ee4f4932dccf4b06782bd4879898dfa6fdfe4e /README.md
parentAdd readme and license (diff)
Add else if
Diffstat (limited to 'README.md')
-rw-r--r--README.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/README.md b/README.md
index 94cba01..bacfd06 100644
--- a/README.md
+++ b/README.md
@@ -20,6 +20,7 @@ or can be interpreted with the [ABCMachine][abc-github] project.
| <Expression> ';'
| 'return' [<Expression>] ';'
| 'if' '(' <Expression> ')' '{' <CodeBlock> '}'
+ ['else' 'if' '(' <Expression> ')' '{' <CodeBlock> '}']-list
['else' '{' <CodeBlock> '}'] ';'
| 'while' '(' <Expression> ')' '{' <CodeBlock> '}' ';'
| '|~' <MachineCode>