aboutsummaryrefslogtreecommitdiff
path: root/build2/test/script/parser
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-10-13 15:50:16 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-11-04 08:29:23 +0200
commit8caa111ec27dc21973b764d9892e7100f4bd2628 (patch)
treeedf31f67a28173698b2cfc5e30bfbcf922d04f4b /build2/test/script/parser
parent5381b25c51475c0c7a2f39e9f6efa623f621ef3e (diff)
Add testscript runner interface and implementation stub
Diffstat (limited to 'build2/test/script/parser')
-rw-r--r--build2/test/script/parser10
1 files changed, 8 insertions, 2 deletions
diff --git a/build2/test/script/parser b/build2/test/script/parser
index 0ba4710..55dc003 100644
--- a/build2/test/script/parser
+++ b/build2/test/script/parser
@@ -21,14 +21,19 @@ namespace build2
namespace script
{
class lexer;
+ class runner;
class parser: protected build2::parser
{
public:
// Issue diagnostics and throw failed in case of an error.
//
- script
- parse (istream&, const path& name, target& test, target& script);
+ void
+ parse (istream&,
+ const path& name,
+ target& test,
+ target& script,
+ runner&);
// Recursive descent parser.
//
@@ -60,6 +65,7 @@ namespace build2
lexer* lexer_;
script* script_;
+ runner* runner_;
};
}
}