From a63e1809afd9a837821d6e8376cb14a36e7fc26e Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 4 Jan 2017 17:44:39 +0200 Subject: Treat any testscript line that starts with dot as directive Even though we currently only recognize the include directive, we reserve any line that begins with a dot for future. --- unit-tests/test/script/parser/buildfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'unit-tests/test/script/parser/buildfile') diff --git a/unit-tests/test/script/parser/buildfile b/unit-tests/test/script/parser/buildfile index db75a4f..41fe34d 100644 --- a/unit-tests/test/script/parser/buildfile +++ b/unit-tests/test/script/parser/buildfile @@ -15,8 +15,8 @@ test/{target script/{token lexer parser regex script}} \ scheduler exe{driver}: cxx{driver} ../../../../build2/cxx{$src} $libs \ -test{cleanup command-if command-re-parse description exit expansion \ - here-document here-string include pipe-expr pre-parse redirect \ - scope scope-if setup-teardown} +test{cleanup command-if command-re-parse description directive exit \ + expansion here-document here-string include pipe-expr pre-parse \ + redirect scope scope-if setup-teardown} include ../../../../build2/ -- cgit v1.1