From 1ea33ab70f88fcfebf388a9a438e3c1e56fbdf0f Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 10 Jun 2020 10:01:45 +0200 Subject: Handle special variable names when spelled as $() rather than $ --- libbuild2/lexer.hxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libbuild2/lexer.hxx') 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;} -- cgit v1.1