From f1cbb7c9d5c750366fa1918a53d0682f0633b1d9 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 9 Nov 2016 11:29:23 +0200 Subject: Various minor semantics changes in testscript language The .include directive and if-else no longer have to be separated from the following token. This allows to make the decision by looking at just one token. The test scope can no longer have a description inside the scope. It should always be leading the scope itself. --- unit-tests/test/script/parser/include.test | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'unit-tests/test/script/parser/include.test') diff --git a/unit-tests/test/script/parser/include.test b/unit-tests/test/script/parser/include.test index 8210172..65ce7ce 100644 --- a/unit-tests/test/script/parser/include.test +++ b/unit-tests/test/script/parser/include.test @@ -1,14 +1,22 @@ : not-directive : $* <>EOO -x = +x = x ".include" foo.test -.include\$x foo.test +.include'' foo.test EOI .include foo.test .include foo.test EOO +: not-separated +: +touch foo.test; +$* <