aboutsummaryrefslogtreecommitdiff
path: root/build2/test/script/token.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2016-10-24 16:11:50 +0300
committerBoris Kolpackov <boris@codesynthesis.com>2016-11-04 09:26:35 +0200
commitb0bed0e1205f44ae73850fac521f9162f29adef5 (patch)
tree27c8c1fe846dbc51abbcb582d82013917ba0096b /build2/test/script/token.cxx
parent5c325b8613a4323ee47bd42ce6d962b9ab9f2d90 (diff)
Support >+ and <+ redirects in parser
Diffstat (limited to 'build2/test/script/token.cxx')
-rw-r--r--build2/test/script/token.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/build2/test/script/token.cxx b/build2/test/script/token.cxx
index 0a8ecf1..93f4f83 100644
--- a/build2/test/script/token.cxx
+++ b/build2/test/script/token.cxx
@@ -28,12 +28,14 @@ namespace build2
case token_type::log_and: os << q << "&&" << q; break;
case token_type::log_or: os << q << "||" << q; break;
+ case token_type::in_std: os << q << "<+" << q; break;
case token_type::in_null: os << q << "<-" << q; break;
case token_type::in_str: os << q << '<' << q; break;
case token_type::in_str_nn: os << q << "<:" << q; break;
case token_type::in_doc: os << q << "<<" << q; break;
case token_type::in_doc_nn: os << q << "<<:" << q; break;
+ case token_type::out_std: os << q << ">+" << q; break;
case token_type::out_null: os << q << ">-" << q; break;
case token_type::out_str: os << q << '>' << q; break;
case token_type::out_str_nn: os << q << ">:" << q; break;