From 075404d03607048609a6f1b226d8e2845806b838 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 21 Jan 2016 08:47:07 +0200 Subject: Rename equal token to assign, etc --- build2/file.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'build2/file.cxx') diff --git a/build2/file.cxx b/build2/file.cxx index 02357c5..68b655e 100644 --- a/build2/file.cxx +++ b/build2/file.cxx @@ -282,9 +282,9 @@ namespace build2 token_type tt; if (t.type != token_type::name || t.value != var || - ((tt = lex.next ().type) != token_type::equal && - tt != token_type::equal_plus && - tt != token_type::plus_equal)) + ((tt = lex.next ().type) != token_type::assign && + tt != token_type::prepend && + tt != token_type::append)) { error << "variable '" << var << "' expected as first line in " << rbf; throw failed (); // Suppress "used uninitialized" warning. -- cgit v1.1