From 4a4e5ad3c50619ad7653b01b562af9794c97aa80 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 1 Nov 2016 16:35:47 +0200 Subject: Implement command-pipe, command-expr in testscript parser --- build2/test/script/runner | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'build2/test/script/runner') diff --git a/build2/test/script/runner b/build2/test/script/runner index 0180108..b78628c 100644 --- a/build2/test/script/runner +++ b/build2/test/script/runner @@ -26,16 +26,16 @@ namespace build2 virtual void enter (scope&, const location&) = 0; - // Index is the 1-base index of this command in the command list + // Index is the 1-base index of this command line in the command list // (e.g., in a compound test). If it is 0 then it means there is only // one command (e.g., a simple test). This information can be used, // for example, to derive file names. // - // Location is the start position of this command in the testscript. - // It can be used in diagnostics. + // Location is the start position of this command line in the + // testscript. It can be used in diagnostics. // virtual void - run (scope&, const command&, size_t index, const location&) = 0; + run (scope&, const command_expr&, size_t index, const location&) = 0; // Location is the scope end location (for diagnostics, etc). // @@ -50,7 +50,7 @@ namespace build2 enter (scope&, const location&) override; virtual void - run (scope&, const command&, size_t, const location&) override; + run (scope&, const command_expr&, size_t, const location&) override; virtual void leave (scope&, const location&) override; -- cgit v1.1