summaryrefslogtreecommitdiff
path: root/chapter12/docs
diff options
context:
space:
mode:
authorCliff Click <cliffc@acm.org>2024-10-13 09:11:01 -0700
committerCliff Click <cliffc@acm.org>2024-10-13 09:49:57 -0700
commitdb7a5bd09f5e71de9df8217162bd4e8f2d2a2cc6 (patch)
treedc8d452e8626faaeafadd46fbc7c3cf8c1bcd17b /chapter12/docs
parentf4dee3cff700026b0997aac681752257aa03b4bd (diff)
downloadSimple-db7a5bd09f5e71de9df8217162bd4e8f2d2a2cc6.tar.gz
Simple-db7a5bd09f5e71de9df8217162bd4e8f2d2a2cc6.zip
more grammar cleanup
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