diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2009-08-09 15:16:37 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2009-08-09 15:16:37 +0200 |
commit | bc2c0b4ec39d456a84e4f92791c8cf3ac886ed37 (patch) | |
tree | 20379b588f8aa50bd0f90986b5758e4eba347873 /doc | |
parent | 59c9341ba973c9198752c169a5df628eb27881ab (diff) | |
download | cli-bc2c0b4ec39d456a84e4f92791c8cf3ac886ed37.tar.gz cli-bc2c0b4ec39d456a84e4f92791c8cf3ac886ed37.tar.xz cli-bc2c0b4ec39d456a84e4f92791c8cf3ac886ed37.zip |
Clarify language grammar
Diffstat (limited to 'doc')
-rw-r--r-- | doc/language.txt | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/doc/language.txt b/doc/language.txt index 6000925..fa357dd 100644 --- a/doc/language.txt +++ b/doc/language.txt @@ -20,11 +20,7 @@ include-decl-seq: include-decl-seq include-decl; include-decl: - "include" path ";" - -path: - string-literal - bracket-literal + "include" path-literal ";" decl-seq: decl @@ -59,7 +55,7 @@ option-name-seq: option-name-seq "|" option-name; option-name: - identifier + option-identifier string-literal initializer: @@ -70,7 +66,7 @@ argument-seq: argument-expr argument-seq "," argument-expr -argument-expr +argument-expr: bool-literal int-literal float-literal @@ -81,8 +77,9 @@ qualified-name: identifier qualified-name "::" identifier -fundamental-type-spec +fundamental-type-spec: "bool" ... "long double" + |