aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/script/parser.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/script/parser.hxx')
-rw-r--r--libbuild2/script/parser.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/libbuild2/script/parser.hxx b/libbuild2/script/parser.hxx
index 077cb22..6e24d37 100644
--- a/libbuild2/script/parser.hxx
+++ b/libbuild2/script/parser.hxx
@@ -25,7 +25,7 @@ namespace build2
class parser: protected build2::parser
{
public:
- parser (context& c): build2::parser (c) {}
+ parser (context& c, bool relex): build2::parser (c), relex_ (relex) {}
// Helpers.
//
@@ -229,6 +229,7 @@ namespace build2
size_t replay_quoted_;
protected:
+ bool relex_;
lexer* lexer_ = nullptr;
};
}