From 2931b2365c2f00562d0d06ad6e83b74a6618f334 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 19 Jun 2020 21:45:13 +0300 Subject: Fix assertion failure for unbound 'end' in testscript Issue #83. --- libbuild2/test/script/parser.hxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libbuild2/test/script/parser.hxx') 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&, lines* = nullptr, - bool one = false); + bool one = false, + bool if_line = false); bool pre_parse_if_else (token&, token_type&, -- cgit v1.1