summaryrefslogtreecommitdiff
path: root/chapter10/docs
diff options
context:
space:
mode:
Diffstat (limited to 'chapter10/docs')
-rw-r--r--chapter10/docs/10-grammar.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/chapter10/docs/10-grammar.md b/chapter10/docs/10-grammar.md
index 29ca7762..10c80426 100644
--- a/chapter10/docs/10-grammar.md
+++ b/chapter10/docs/10-grammar.md
@@ -67,7 +67,7 @@ structName
declStatement
: 'int' IDENTIFIER '=' expression ';'
- | structName IDENTIFIER ('?')? '=' expression ';'
+ | structName ('?')? IDENTIFIER '=' expression ';'
;
returnStatement