aboutsummaryrefslogtreecommitdiff
path: root/build2/test/script/parser.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/test/script/parser.hxx')
-rw-r--r--build2/test/script/parser.hxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/build2/test/script/parser.hxx b/build2/test/script/parser.hxx
index 21ea61a..4c666f5 100644
--- a/build2/test/script/parser.hxx
+++ b/build2/test/script/parser.hxx
@@ -183,7 +183,12 @@ namespace build2
void
exec_scope_body ();
- void
+ // Return false if the execution of the scope should be terminated
+ // with the success status (e.g., as a result of encountering the exit
+ // builtin). For unsuccessful termination the failed exception should
+ // be thrown.
+ //
+ bool
exec_lines (lines::iterator, lines::iterator, size_t&, command_type);
// Customization hooks.