aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/build/script/lexer.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/build/script/lexer.hxx')
-rw-r--r--libbuild2/build/script/lexer.hxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/libbuild2/build/script/lexer.hxx b/libbuild2/build/script/lexer.hxx
index f755cea..7d919e5 100644
--- a/libbuild2/build/script/lexer.hxx
+++ b/libbuild2/build/script/lexer.hxx
@@ -48,7 +48,8 @@ namespace build2
const char* escapes = nullptr)
: base_lexer (is, name, line,
nullptr /* escapes */,
- false /* set_mode */)
+ false /* set_mode */,
+ redirect_aliases)
{
mode (m, '\0', escapes);
}
@@ -62,6 +63,9 @@ namespace build2
virtual token
next () override;
+ public:
+ static redirect_aliases_type redirect_aliases;
+
private:
token
next_line ();