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.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/build2/test/script/lexer.cxx b/build2/test/script/lexer.cxx
index d6e35cb..ddab531 100644
--- a/build2/test/script/lexer.cxx
+++ b/build2/test/script/lexer.cxx
@@ -229,12 +229,13 @@ namespace build2
{
xchar p (peek ());
- if (p == '-' || p == ':' || p == '<')
+ if (p == '+' || p == '-' || p == ':' || p == '<')
{
get ();
switch (p)
{
+ case '+': return make_token (type::in_std);
case '-': return make_token (type::in_null);
case ':': return make_token (type::in_str_nn);
case '<':
@@ -261,12 +262,13 @@ namespace build2
{
xchar p (peek ());
- if (p == '-' || p == ':' || p == '>')
+ if (p == '+' || p == '-' || p == ':' || p == '>')
{
get ();
switch (p)
{
+ case '+': return make_token (type::out_std);
case '-': return make_token (type::out_null);
case ':': return make_token (type::out_str_nn);
case '>':