aboutsummaryrefslogtreecommitdiff
path: root/build2/test/script/parser.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/test/script/parser.cxx')
-rw-r--r--build2/test/script/parser.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/build2/test/script/parser.cxx b/build2/test/script/parser.cxx
index 01dd010..8f910c0 100644
--- a/build2/test/script/parser.cxx
+++ b/build2/test/script/parser.cxx
@@ -441,7 +441,7 @@ namespace build2
f = false;
}
- if (tt == type::name)
+ if (tt == type::word)
{
w = move (t.value);
f = true;
@@ -581,7 +581,7 @@ namespace build2
{
// Check if this is the end marker.
//
- if (tt == type::name &&
+ if (tt == type::word &&
!t.quoted &&
t.value == em &&
peek () == type::newline)