aboutsummaryrefslogtreecommitdiff
path: root/unit-tests
diff options
context:
space:
mode:
Diffstat (limited to 'unit-tests')
-rw-r--r--unit-tests/test/script/parser/driver.cxx8
1 files changed, 7 insertions, 1 deletions
diff --git a/unit-tests/test/script/parser/driver.cxx b/unit-tests/test/script/parser/driver.cxx
index db253eb..4d71082 100644
--- a/unit-tests/test/script/parser/driver.cxx
+++ b/unit-tests/test/script/parser/driver.cxx
@@ -29,12 +29,18 @@ namespace build2
{
public:
virtual void
- run (const scope&, const command& t, size_t, const location&) override
+ enter (scope&, const location&) override {}
+
+ virtual void
+ run (scope&, const command& t, size_t, const location&) override
{
// Here we assume we are running serially.
//
cout << t << endl;
}
+
+ virtual void
+ leave (scope&, const location&) override {}
};
// Usage: argv[0] [<testscript-name>]