diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-09-08 11:10:46 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-09-08 11:10:46 +0200 |
commit | 18af73df698e560b847e46d524d059d2921876d5 (patch) | |
tree | 2607b489bf892111a7755cdf158daa928c6d9bd4 /build/lexer | |
parent | eb264e1892c2a1379fa3bcab9aefea219e8e7138 (diff) |
Clean up lexer mode logic
Diffstat (limited to 'build/lexer')
-rw-r--r-- | build/lexer | 4 |
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}; |