summaryrefslogtreecommitdiff
path: root/chapter11
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 /chapter11
parentf4dee3cff700026b0997aac681752257aa03b4bd (diff)
downloadSimple-db7a5bd09f5e71de9df8217162bd4e8f2d2a2cc6.tar.gz
Simple-db7a5bd09f5e71de9df8217162bd4e8f2d2a2cc6.zip
more grammar cleanup
Diffstat (limited to 'chapter11')
-rw-r--r--chapter11/docs/11-grammar.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/chapter11/docs/11-grammar.md b/chapter11/docs/11-grammar.md
index 9370024e..949ed70a 100644
--- a/chapter11/docs/11-grammar.md
+++ b/chapter11/docs/11-grammar.md
@@ -67,7 +67,7 @@ structName
declStatement
: 'int' IDENTIFIER '=' expression ';'
- | structName IDENTIFIER ('?')? '=' expression ';'
+ | structName ('?')? IDENTIFIER '=' expression ';'
;
returnStatement