summaryrefslogtreecommitdiff
path: root/doc/language.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/language.txt')
-rw-r--r--doc/language.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/language.txt b/doc/language.txt
index cef7da8..ce64abf 100644
--- a/doc/language.txt
+++ b/doc/language.txt
@@ -68,7 +68,7 @@ class-decl
option-def
option-def:
- type-spec option-name-seq initializer(opt) option-doc(opt) ";"
+ type-spec option-name-seq initializer(opt) option-def-trailer
type-spec:
fundamental-type-spec
@@ -95,6 +95,10 @@ initializer-expr:
qualified-name
call-expr
+option-def-trailer:
+ ";"
+ option-doc
+
option-doc:
"{" doc-string-seq "}"