aboutsummaryrefslogtreecommitdiff
path: root/build2/test/script/lexer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/test/script/lexer.cxx')
-rw-r--r--build2/test/script/lexer.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/build2/test/script/lexer.cxx b/build2/test/script/lexer.cxx
index d0d59aa..e060869 100644
--- a/build2/test/script/lexer.cxx
+++ b/build2/test/script/lexer.cxx
@@ -395,7 +395,7 @@ namespace build2
type r (type::out_str);
xchar p (peek ());
- if (p == '|' || p == '-' || p == '&' ||
+ if (p == '|' || p == '-' || p == '!' || p == '&' ||
p == '=' || p == '+' || p == '>')
{
get ();
@@ -404,6 +404,7 @@ namespace build2
{
case '|': return make_token (type::out_pass);
case '-': return make_token (type::out_null);
+ case '!': return make_token (type::out_trace);
case '&': return make_token (type::out_merge);
case '=': return make_token (type::out_file_ovr);
case '+': return make_token (type::out_file_app);