diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-01-21 08:47:07 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-01-21 08:47:07 +0200 |
commit | 075404d03607048609a6f1b226d8e2845806b838 (patch) | |
tree | 2b0a958928a19e013c9b3c559e25504876fe94ae /build2/file.cxx | |
parent | c7c3fd96e97ae2ec3914d36cb920a6f02c9a3414 (diff) |
Rename equal token to assign, etc
Diffstat (limited to 'build2/file.cxx')
-rw-r--r-- | build2/file.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
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. |