aboutsummaryrefslogtreecommitdiff
path: root/build2/parser.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/parser.cxx')
-rw-r--r--build2/parser.cxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/build2/parser.cxx b/build2/parser.cxx
index 5f9850d..c2737cb 100644
--- a/build2/parser.cxx
+++ b/build2/parser.cxx
@@ -2154,7 +2154,10 @@ namespace build2
tt != type::lparen) || peeked ().separated))
{
tt = type::word;
- t = token (move (concat_str), true, false, t.line, t.column);
+ t = token (move (concat_str),
+ true,
+ quote_type::unquoted, false,
+ t.line, t.column);
concat = false;
}
else if (!first)
@@ -2792,7 +2795,7 @@ namespace build2
//
// See tests/keyword.
//
- if (!t.quoted)
+ if (t.qtype == quote_type::unquoted)
{
// We cannot peek at the whole token here since it might have to be
// lexed in a different mode. So peek at its first character.