aboutsummaryrefslogtreecommitdiff
path: root/build2/test/script/parser
diff options
context:
space:
mode:
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;