aboutsummaryrefslogtreecommitdiff
path: root/doc/grammar.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/grammar.txt')
-rw-r--r--doc/grammar.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/grammar.txt b/doc/grammar.txt
index 57fa43f..f14ee1b 100644
--- a/doc/grammar.txt
+++ b/doc/grammar.txt
@@ -28,7 +28,7 @@ if := "if" expression block elseif* else*
elseif := "else" "if" expression block
else := "else" block
-for := [ ":" NAME ] [ assignment ";" ] expression [ ";" assignment ] block
+for := "for" [ ":" NAME ] [ assignment ";" ] expression [ ";" assignment ] block
return := "return" expression