aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/lexer.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-09-30 12:53:29 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-09-30 15:30:45 +0200
commit6b9699f0f2e48961af25843eea9b694d043bd352 (patch)
tree6989edc16eb0690480d556aae6b83588d495a132 /libbuild2/lexer.hxx
parent12268f7741ba73c75a73fafb6063f1393e485aae (diff)
Reserve `:` in `case` pattern expression for future match extraction support
Diffstat (limited to 'libbuild2/lexer.hxx')
-rw-r--r--libbuild2/lexer.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/lexer.hxx b/libbuild2/lexer.hxx
index 72ec050..90d546d 100644
--- a/libbuild2/lexer.hxx
+++ b/libbuild2/lexer.hxx
@@ -33,7 +33,7 @@ namespace build2
// a few extra characters:
//
// switch_expressions values plus `:`
- // case_patterns values plus '|'
+ // case_patterns values plus '|' and ':'
//
// Note that the normal, value/values and derived, as well as eval modes
// split words separated by the pair character (to disable pairs one can