aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/grammar.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/grammar.txt b/doc/grammar.txt
index 8253d00..d3c9829 100644
--- a/doc/grammar.txt
+++ b/doc/grammar.txt
@@ -32,7 +32,7 @@ else := "else" block
for := "for" [ assignment ";" ] expression [ ";" assignment ] block
-return := "return" expression
+return := "return" [ expression ]
break := "break" [ ":" NAME ] [ expression ]
continue := "continue" [ ":" NAME ]