aboutsummaryrefslogtreecommitdiff
path: root/build2/test/script/token
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-10-22 16:10:38 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-11-04 09:26:34 +0200
commit132c1f2bb19c92722274c69a190c2f71b801b602 (patch)
treece141b9b866582966262d01777dbf7e9e01e324e /build2/test/script/token
parent31e16a7413813293e3cccb6799eaa08b7af5af4e (diff)
Add support for no-newline redirects in testscript
The no-newline operators are '<:', '>:', '<<:', and '>>:'.
Diffstat (limited to 'build2/test/script/token')
-rw-r--r--build2/test/script/token12
1 files changed, 8 insertions, 4 deletions
diff --git a/build2/test/script/token b/build2/test/script/token
index da468af..c1e05fd 100644
--- a/build2/test/script/token
+++ b/build2/test/script/token
@@ -32,12 +32,16 @@ namespace build2
log_or, // ||
in_null, // <!
- in_string, // <
- in_document, // <<
+ in_str, // <
+ in_str_nn, // <:
+ in_doc, // <<
+ in_doc_nn, // <<:
out_null, // >!
- out_string, // >
- out_document // >>
+ out_str, // >
+ out_str_nn, // >:
+ out_doc, // >>
+ out_doc_nn // >>:
};
token_type () = default;