aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build2/test/script/lexer.cxx1
-rw-r--r--unit-tests/test/script/lexer/script-line.test1
2 files changed, 2 insertions, 0 deletions
diff --git a/build2/test/script/lexer.cxx b/build2/test/script/lexer.cxx
index 4d57fe4..008223c 100644
--- a/build2/test/script/lexer.cxx
+++ b/build2/test/script/lexer.cxx
@@ -73,6 +73,7 @@ namespace build2
// Disable pair separator.
//
base_lexer::mode (m, '\0');
+ return;
}
}
diff --git a/unit-tests/test/script/lexer/script-line.test b/unit-tests/test/script/lexer/script-line.test
index f03c3bb..fcde40b 100644
--- a/unit-tests/test/script/lexer/script-line.test
+++ b/unit-tests/test/script/lexer/script-line.test
@@ -16,3 +16,4 @@ test.options += --foo
$1
test.arguments += bar
$2
+($3 == [null])