summaryrefslogtreecommitdiff
path: root/chapter13
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 /chapter13
parentf4dee3cff700026b0997aac681752257aa03b4bd (diff)
downloadSimple-db7a5bd09f5e71de9df8217162bd4e8f2d2a2cc6.tar.gz
Simple-db7a5bd09f5e71de9df8217162bd4e8f2d2a2cc6.zip
more grammar cleanup
Diffstat (limited to 'chapter13')
-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