aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/test/script/lexer.test.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/test/script/lexer.test.cxx')
-rw-r--r--libbuild2/test/script/lexer.test.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/libbuild2/test/script/lexer.test.cxx b/libbuild2/test/script/lexer.test.cxx
index 76f102d..ef3ce4d 100644
--- a/libbuild2/test/script/lexer.test.cxx
+++ b/libbuild2/test/script/lexer.test.cxx
@@ -36,6 +36,7 @@ namespace build2
else if (s == "variable-line") m = lexer_mode::variable_line;
else if (s == "description-line") m = lexer_mode::description_line;
else if (s == "variable") m = lexer_mode::variable;
+ else if (s == "for-loop") m = lexer_mode::for_loop;
else assert (false);
}