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 --- tests/keyword/buildfile | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 tests/keyword/buildfile (limited to 'tests/keyword/buildfile') diff --git a/tests/keyword/buildfile b/tests/keyword/buildfile new file mode 100644 index 0000000..cd91d33 --- /dev/null +++ b/tests/keyword/buildfile @@ -0,0 +1,23 @@ +# Quoting. +# +"print" = a +'print' += b +pr"int" += c +print'' += d + +# Not = or +=. +# +print += e + +print $print + +# ( +# +print(test) + +# Separated. +# +define print: file +print{foo}: + +./: -- cgit v1.1