diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-01-04 17:44:39 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-01-04 17:44:39 +0200 |
commit | a63e1809afd9a837821d6e8376cb14a36e7fc26e (patch) | |
tree | 92a79a14dbab94c7893dee8994d03ab645690852 /build2/test/script/token.cxx | |
parent | aab54ca12373bc7df1323017e4fb0b9594dcb835 (diff) |
Treat any testscript line that starts with dot as directive
Even though we currently only recognize the include directive, we
reserve any line that begins with a dot for future.
Diffstat (limited to 'build2/test/script/token.cxx')
-rw-r--r-- | build2/test/script/token.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/build2/test/script/token.cxx b/build2/test/script/token.cxx index 5552994..9e1833c 100644 --- a/build2/test/script/token.cxx +++ b/build2/test/script/token.cxx @@ -25,6 +25,8 @@ namespace build2 { case token_type::semi: os << q << ';' << q; break; + case token_type::dot: os << q << '.' << q; break; + case token_type::plus: os << q << '+' << q; break; case token_type::minus: os << q << '-' << q; break; |