summaryrefslogtreecommitdiff
path: root/chapter13/docs
diff options
context:
space:
mode:
Diffstat (limited to 'chapter13/docs')
-rw-r--r--chapter13/docs/13-grammar.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/chapter13/docs/13-grammar.md b/chapter13/docs/13-grammar.md
index 63871a39..00796552 100644
--- a/chapter13/docs/13-grammar.md
+++ b/chapter13/docs/13-grammar.md
@@ -73,7 +73,7 @@ structName
declStatement
: PRIMTYPE IDENTIFIER '=' expression ';'
- | structName IDENTIFIER ('?')? '=' expression ';'
+ | structName ('?')? IDENTIFIER '=' expression ';'
;
returnStatement