diff options
Diffstat (limited to 'build2/test/script')
-rw-r--r-- | build2/test/script/parser.cxx | 2 | ||||
-rw-r--r-- | build2/test/script/token | 6 | ||||
-rw-r--r-- | build2/test/script/token.cxx | 6 |
3 files changed, 7 insertions, 7 deletions
diff --git a/build2/test/script/parser.cxx b/build2/test/script/parser.cxx index 67585c6..bfd0667 100644 --- a/build2/test/script/parser.cxx +++ b/build2/test/script/parser.cxx @@ -234,7 +234,7 @@ namespace build2 unsigned long fd (3); if (!t.separated) { - if (!ts.arguments.empty ()) + if (ts.arguments.empty ()) fail (l) << "missing redirect file descriptor"; const string& s (ts.arguments.back ()); diff --git a/build2/test/script/token b/build2/test/script/token index e952e00..c39811a 100644 --- a/build2/test/script/token +++ b/build2/test/script/token @@ -33,9 +33,9 @@ namespace build2 in_string, // < in_document, // << - out_null, // <! - out_string, // < - out_document // << + out_null, // >! + out_string, // > + out_document // >> }; token_type () = default; diff --git a/build2/test/script/token.cxx b/build2/test/script/token.cxx index bfff25a..27e86d6 100644 --- a/build2/test/script/token.cxx +++ b/build2/test/script/token.cxx @@ -30,9 +30,9 @@ namespace build2 case token_type::in_string: os << q << '<' << q; break; case token_type::in_document: os << q << "<<" << q; break; - case token_type::out_null: os << q << "<!" << q; break; - case token_type::out_string: os << q << '<' << q; break; - case token_type::out_document: os << q << "<<" << q; break; + case token_type::out_null: os << q << ">!" << q; break; + case token_type::out_string: os << q << '>' << q; break; + case token_type::out_document: os << q << ">>" << q; break; default: build2::token_printer (os, t, d); } |