aboutsummaryrefslogtreecommitdiff
path: root/build2/test/script/parser
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2016-11-10 00:26:54 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2016-11-15 16:46:10 +0300
commita7efabf301f23364ac2335c80c5e1e712bc43204 (patch)
treedded192f09627702bc8e0566c5c6032825d6920c /build2/test/script/parser
parent05b1d9e89a94ee5594168073b8dc363fada987f1 (diff)
Add cat, false and true builtins
Diffstat (limited to 'build2/test/script/parser')
-rw-r--r--build2/test/script/parser6
1 files changed, 6 insertions, 0 deletions
diff --git a/build2/test/script/parser b/build2/test/script/parser
index a81ddf0..fdfbe11 100644
--- a/build2/test/script/parser
+++ b/build2/test/script/parser
@@ -158,6 +158,12 @@ namespace build2
const string&
insert_id (string, location);
+ // Set lexer pointers for both the current and the base classes.
+ //
+ protected:
+ void
+ set_lexer (lexer* l);
+
protected:
using base_parser = build2::parser;