aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/test/script/parser.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2020-06-19 21:45:13 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2020-06-20 11:27:05 +0300
commit2931b2365c2f00562d0d06ad6e83b74a6618f334 (patch)
treed76adaabeebf1c0d1a6ab86695ace69d66aaf942 /libbuild2/test/script/parser.hxx
parent2756e66940d140b7e378ea5a38354243d74ffe80 (diff)
Fix assertion failure for unbound 'end' in testscript
Issue #83.
Diffstat (limited to 'libbuild2/test/script/parser.hxx')
-rw-r--r--libbuild2/test/script/parser.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/libbuild2/test/script/parser.hxx b/libbuild2/test/script/parser.hxx
index aa64943..0c467a5 100644
--- a/libbuild2/test/script/parser.hxx
+++ b/libbuild2/test/script/parser.hxx
@@ -59,7 +59,8 @@ namespace build2
pre_parse_line (token&, token_type&,
optional<description>&,
lines* = nullptr,
- bool one = false);
+ bool one = false,
+ bool if_line = false);
bool
pre_parse_if_else (token&, token_type&,