diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-11-18 17:28:46 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-11-18 17:30:47 +0200 |
commit | 6b7075adc71104c5f6ad652b99fb753565eb67d8 (patch) | |
tree | 1f4d91b7cd9ee7cca793f0ecc504ccc4d8dde0d2 /build2/parser | |
parent | dd008d6e48b0bb66e1b9fdc489d9d1d9b4cb8d25 (diff) |
Add function machinery, implement path.normalize()
Note that multi-argument functions are not yet "callable" since there is
no support for value packs.
Diffstat (limited to 'build2/parser')
-rw-r--r-- | build2/parser | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/build2/parser b/build2/parser index 3e6fc00..954a706 100644 --- a/build2/parser +++ b/build2/parser @@ -107,7 +107,10 @@ namespace build2 value&& rhs, token_type kind); - value + // Return the value as well as the indication of whether this is a non- + // empty eval context (i.e., '()' potentially with whitespace in between). + // + pair<value, bool> parse_eval (token&, token_type&); value |