From 4b1f902b33d0826ccb2f6d5a1ceb8db7bdd2defe Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 4 Nov 2016 08:46:35 +0200 Subject: Change token type 'name' to more general 'word' --- build2/file.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build2/file.cxx') 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)) -- cgit v1.1