aboutsummaryrefslogtreecommitdiff
path: root/unit-tests/test/script/lexer/driver.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-11-04 08:47:35 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-11-04 09:26:26 +0200
commit3eb0cd7fe3c1dec0bb3b7e1d225107e55ca4b435 (patch)
treef7c06695b1c8974ab0b4777b416db7343f5ebbae /unit-tests/test/script/lexer/driver.cxx
parent1270101f4267ecd187bb604190d004daaae341b7 (diff)
Various testscript lexer/parser fixes (testscript)
Diffstat (limited to 'unit-tests/test/script/lexer/driver.cxx')
-rw-r--r--unit-tests/test/script/lexer/driver.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/unit-tests/test/script/lexer/driver.cxx b/unit-tests/test/script/lexer/driver.cxx
index 7e237ed..b80eed9 100644
--- a/unit-tests/test/script/lexer/driver.cxx
+++ b/unit-tests/test/script/lexer/driver.cxx
@@ -30,8 +30,8 @@ namespace build2
string s (argv[1]);
if (s == "script-line") m = lexer_mode::script_line;
+ else if (s == "assign-line") m = lexer_mode::assign_line;
else if (s == "variable-line") m = lexer_mode::variable_line;
- else if (s == "test-line") m = lexer_mode::test_line;
else if (s == "command-line") m = lexer_mode::command_line;
else if (s == "here-line") m = lexer_mode::here_line;
else if (s == "variable") m = lexer_mode::variable;