From 9c45022422bc9826da36631bfe1184658956daaf Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 3 Dec 2015 17:49:12 +0200 Subject: Implement new potential directive keyword test Now we can use directive names as variables and targets type, for example: print = foo # variable print{foo}: # target --- build/parser | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'build/parser') diff --git a/build/parser b/build/parser index ca27890..f3f88d5 100644 --- a/build/parser +++ b/build/parser @@ -128,6 +128,11 @@ namespace build void skip_block (token&, token_type&); + // Return true if the name token can be considered a directive keyword. + // + bool + keyword (token&); + // Buildspec. // buildspec -- cgit v1.1