From 5583ffaa2581858cb7f7f75e28660bc038bcc8ec Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Tue, 1 Nov 2016 12:18:59 +0300 Subject: Add support for cleanup types to testscript parser --- build2/test/script/token.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'build2/test/script/token.cxx') diff --git a/build2/test/script/token.cxx b/build2/test/script/token.cxx index 1cd0859..79e64de 100644 --- a/build2/test/script/token.cxx +++ b/build2/test/script/token.cxx @@ -26,8 +26,11 @@ namespace build2 case token_type::plus: os << q << '+' << q; break; case token_type::minus: os << q << '-' << q; break; + case token_type::clean_always: os << q << '&' << q; break; + case token_type::clean_maybe: os << q << "&?" << q; break; + case token_type::clean_never: os << q << "&!" << q; break; + case token_type::pipe: os << q << '|' << q; break; - case token_type::clean: os << q << '&' << q; break; case token_type::log_and: os << q << "&&" << q; break; case token_type::log_or: os << q << "||" << q; break; -- cgit v1.1