aboutsummaryrefslogtreecommitdiff
path: root/build/lexer
diff options
context:
space:
mode:
Diffstat (limited to 'build/lexer')
-rw-r--r--build/lexer4
1 files changed, 3 insertions, 1 deletions
diff --git a/build/lexer b/build/lexer
index 1e5bfd0..e5676cc 100644
--- a/build/lexer
+++ b/build/lexer
@@ -23,7 +23,9 @@ namespace build
// in the variable mode, we restrict certain character (e.g., /)
// from appearing in the name. The pairs mode is just like value
// except that we split names separated by the pair character.
- // The pairs mode must be set manually.
+ // The alternnative modes must be set manually. The value and
+ // pairs modes are automatically reset after the end of the line.
+ // The variable mode is automatically reset after the name token.
//
enum class lexer_mode {normal, value, variable, pairs};