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