aboutsummaryrefslogtreecommitdiff
path: root/build2/lexer
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-08-05 15:36:24 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-08-05 15:36:24 +0200
commit0f1697e7465f15590a115dedb4516568f1e30db8 (patch)
tree5cba3116dabbd227ed3f7804b44da628de8086e4 /build2/lexer
parentb7f1f4f6c23c45745c37e65c7d8bd088e0e1ae95 (diff)
Enable pair recognition in the normal and eval lexer modes
We need this for the out-qualified target syntax: h{config}@./: install = false
Diffstat (limited to 'build2/lexer')
-rw-r--r--build2/lexer3
1 files changed, 2 insertions, 1 deletions
diff --git a/build2/lexer b/build2/lexer
index 7e59ff1..827d141 100644
--- a/build2/lexer
+++ b/build2/lexer
@@ -24,7 +24,8 @@ namespace build2
// eval mode is used in the evaluation context. Quoted is an internal mode
// and should not be set explicitly.
//
- // Note that the value mode splits names separated by the pair character.
+ // Note that the normal, value, and eval modes split names separated by the
+ // pair character (to disable pairs one can pass '\0' as a pair character).
//
// The alternnative modes must be set manually. The value mode is
// automatically reset after the end of the line. The variable mode is reset