aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/token.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-05-06 06:58:34 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-05-27 08:35:29 +0200
commitfce9782a330e8f701a8df0b5200e5b78e97ec4b5 (patch)
tree725897267dd6b78761dad46b2cae695f27889bf7 /libbuild2/token.hxx
parentfa717b42574fe1a7c0c07393f6790595d39c33ae (diff)
Handle multi-curly-brace tokens in lexer
Diffstat (limited to 'libbuild2/token.hxx')
-rw-r--r--libbuild2/token.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/libbuild2/token.hxx b/libbuild2/token.hxx
index 8dad4ba..e11b880 100644
--- a/libbuild2/token.hxx
+++ b/libbuild2/token.hxx
@@ -45,6 +45,9 @@ namespace build2
lcbrace, // {
rcbrace, // }
+ multi_lcbrace, // {{... (value contains the braces)
+ multi_rcbrace, // }}... (value contains the braces)
+
lsbrace, // [
rsbrace, // ]