diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-03-02 14:48:21 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-03-02 14:48:21 +0200 |
commit | 65664ba5a6241e9c58d846cde6ed9fcbbe53d2cd (patch) | |
tree | a76f83398335b58e5043d4efe3f2e5748a3a1f56 /build/parser | |
parent | 4a9ee48613cf5c59e071400280b62358eb79987e (diff) |
Implement variable expansion
Diffstat (limited to 'build/parser')
-rw-r--r-- | build/parser | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/build/parser b/build/parser index 53fc83c..2e399c9 100644 --- a/build/parser +++ b/build/parser @@ -67,6 +67,13 @@ namespace build token_type peek (); + const token& + peeked () const + { + assert (peeked_); + return peek_; + } + // Diagnostics. // private: |