diff options
Diffstat (limited to 'doc/language.txt')
-rw-r--r-- | doc/language.txt | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/doc/language.txt b/doc/language.txt index 16eaa0d..cef7da8 100644 --- a/doc/language.txt +++ b/doc/language.txt @@ -47,7 +47,7 @@ namespace-body: decl-seq(opt) class-def: - "class" identifier inheritance-spec(opt) abstract-spec(opt) "{" option-def-seq(opt) "};" + "class" identifier inheritance-spec(opt) abstract-spec(opt) "{" class-decl-seq(opt) "};" inheritance-spec: ":" base-seq @@ -59,9 +59,13 @@ base-seq: abstract-spec: "=" "0" -option-def-seq: +class-decl-seq: + class-decl + class-decl-seq class-decl + +class-decl + scope-doc option-def - option-def-seq option-def option-def: type-spec option-name-seq initializer(opt) option-doc(opt) ";" |