diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-12-01 13:39:09 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-12-01 13:42:10 +0200 |
commit | 7996c2bfc2d7e998e2f9f1236d457ec7bea8ad8a (patch) | |
tree | dca79d3657bec47d4cd5db85899a70d3d49c079e /build/parser | |
parent | f355a4379f035df61a7702f5ff805eefb004fb20 (diff) |
Implement support for definition target type aliases
For example:
define cli=file
Currently, the semantics is that of a real alias with only name differences
that are used for display. See tests/define/buildfile for more use cases.
Diffstat (limited to 'build/parser')
-rw-r--r-- | build/parser | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/build/parser b/build/parser index e37e68a..4390c67 100644 --- a/build/parser +++ b/build/parser @@ -72,6 +72,9 @@ namespace build using_ (token&, token_type&); void + define (token&, token_type&); + + void variable (token&, token_type&, std::string name, token_type kind); std::string |