diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2020-06-10 10:01:45 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2020-06-10 10:01:45 +0200 |
commit | 1ea33ab70f88fcfebf388a9a438e3c1e56fbdf0f (patch) | |
tree | 359f61dc51fee77abd1f376b45418501de549104 /libbuild2/lexer.hxx | |
parent | d5faeeab1d2115c02a330ac9c95d63ba225faabc (diff) |
Handle special variable names when spelled as $(<char>) rather than $<char>
Diffstat (limited to 'libbuild2/lexer.hxx')
-rw-r--r-- | libbuild2/lexer.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libbuild2/lexer.hxx b/libbuild2/lexer.hxx index f577828..6c2b90b 100644 --- a/libbuild2/lexer.hxx +++ b/libbuild2/lexer.hxx @@ -161,6 +161,9 @@ namespace build2 lexer_mode mode () const {return state_.top ().mode;} + uintptr_t + mode_data () const {return state_.top ().data;} + char pair_separator () const {return state_.top ().sep_pair;} |