diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-11-09 11:29:23 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-11-09 11:29:23 +0200 |
commit | f1cbb7c9d5c750366fa1918a53d0682f0633b1d9 (patch) | |
tree | f5b49b2b1052e693e5f26ec9cfdcee3d3d4e13c3 /build2/test/script/parser | |
parent | feab490f5f34bf8ecc52d2a439e68b3f2644ab47 (diff) |
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.
Diffstat (limited to 'build2/test/script/parser')
-rw-r--r-- | build2/test/script/parser | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/build2/test/script/parser b/build2/test/script/parser index 2dc14c8..a543edf 100644 --- a/build2/test/script/parser +++ b/build2/test/script/parser @@ -57,6 +57,9 @@ namespace build2 void parse_scope_body (); + unique_ptr<group> + pre_parse_scope (token&, token_type&, const string&); + description pre_parse_leading_description (token&, token_type&); |