summaryrefslogtreecommitdiff
path: root/doc/language.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/language.txt')
-rw-r--r--doc/language.txt11
1 files changed, 8 insertions, 3 deletions
diff --git a/doc/language.txt b/doc/language.txt
index bb00976..0a5ee5f 100644
--- a/doc/language.txt
+++ b/doc/language.txt
@@ -1,8 +1,9 @@
Token types:
keyword
identifier
- punctuation (";" "{" "}" "(" ")" "," "|" "=" ":")
- path-literal
+ punctuation (";" "{" "}" "(" ")" "," "|" "=" ":")
+ cxx-path-literal ("c++:path", <c++:path>, "path", <path>)
+ cli-path-literal ("cli:path", <cli:path>, "path.cli", <path.cli>)
char-literal
string-literal
bool-literal
@@ -20,7 +21,11 @@ include-decl-seq:
include-decl-seq include-decl
include-decl:
- "include" path-literal ";"
+ "include" include-path ";"
+
+include-path:
+ cxx-path-literal
+ cli-path-literal
decl-seq:
decl