aboutsummaryrefslogtreecommitdiff
path: root/build2/test/script/lexer.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2016-10-24 15:00:55 +0300
committerBoris Kolpackov <boris@codesynthesis.com>2016-11-04 09:26:35 +0200
commit5c325b8613a4323ee47bd42ce6d962b9ab9f2d90 (patch)
treeb7f74b09c2fc6ef69bca8cb21a933b87c7ac789b /build2/test/script/lexer.cxx
parentaa79de0b9a1e214e923139c25b02b5313a6305a9 (diff)
Change <! and >! syntaxt to <- and >-
Diffstat (limited to 'build2/test/script/lexer.cxx')
-rw-r--r--build2/test/script/lexer.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/build2/test/script/lexer.cxx b/build2/test/script/lexer.cxx
index 1b038c3..d6e35cb 100644
--- a/build2/test/script/lexer.cxx
+++ b/build2/test/script/lexer.cxx
@@ -229,13 +229,13 @@ namespace build2
{
xchar p (peek ());
- if (p == '!' || p == ':' || p == '<')
+ if (p == '-' || p == ':' || p == '<')
{
get ();
switch (p)
{
- case '!': return make_token (type::in_null);
+ case '-': return make_token (type::in_null);
case ':': return make_token (type::in_str_nn);
case '<':
{
@@ -261,13 +261,13 @@ namespace build2
{
xchar p (peek ());
- if (p == '!' || p == ':' || p == '>')
+ if (p == '-' || p == ':' || p == '>')
{
get ();
switch (p)
{
- case '!': return make_token (type::out_null);
+ case '-': return make_token (type::out_null);
case ':': return make_token (type::out_str_nn);
case '>':
{