aboutsummaryrefslogtreecommitdiff
path: root/build2/file.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/file.cxx')
-rw-r--r--build2/file.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/file.cxx b/build2/file.cxx
index 7e94e03..478722f 100644
--- a/build2/file.cxx
+++ b/build2/file.cxx
@@ -282,7 +282,7 @@ namespace build2
token t (lex.next ());
token_type tt;
- if (t.type != token_type::name || t.value != name ||
+ if (t.type != token_type::word || t.value != name ||
((tt = lex.next ().type) != token_type::assign &&
tt != token_type::prepend &&
tt != token_type::append))