summaryrefslogtreecommitdiff
path: root/cli/lexer.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-01-26 15:41:53 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-01-26 15:41:53 +0200
commit6d52ac69e940a6be6c15c5c6f84a183bf56899c8 (patch)
tree057fc64f259d171d400b2ce3afc6450ff2b200aa /cli/lexer.hxx
parent8e07c5e7dec299df8a0fbdb2d2c6ae5fbf4d9db4 (diff)
Implement support for sourcing .cli files
The idea is that the file is "read in" as if its content was copy-n-pasted. For example: "\h|Installation|" source "INSTALL.cli" // Also used to generate plain text INSTALL. Unlike include, source can appear anywhere in the file.
Diffstat (limited to 'cli/lexer.hxx')
-rw-r--r--cli/lexer.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/lexer.hxx b/cli/lexer.hxx
index 710090d..830860c 100644
--- a/cli/lexer.hxx
+++ b/cli/lexer.hxx
@@ -131,7 +131,7 @@ private:
keyword_map keyword_map_;
bool eos_;
- bool include_;
+ bool include_; // Literal in include or source.
bool valid_;
xchar buf_;