From 7996c2bfc2d7e998e2f9f1236d457ec7bea8ad8a Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 1 Dec 2015 13:39:09 +0200 Subject: 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. --- build/parser | 3 +++ 1 file changed, 3 insertions(+) (limited to 'build/parser') 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 -- cgit v1.1