]> git.saurik.com Git - bison.git/commit - ChangeLog
lalr1.cc: avoid GCC 4.3 warnings.
authorAkim Demaille <demaille@gostai.com>
Thu, 26 Mar 2009 22:02:18 +0000 (23:02 +0100)
committerAkim Demaille <demaille@gostai.com>
Thu, 26 Mar 2009 22:45:25 +0000 (23:45 +0100)
commitb328890a9e62573176b34279fb59f0b97935f33a
tree8c3f6464823275b696a430228f3bc21a0d43663e
parentf3079439416261c4c58b5faed343a4aaa3ada5dd
lalr1.cc: avoid GCC 4.3 warnings.

GCC 4.3 now warns about "a || b && c" and asks for explicit
parentheses.
Reported by Alexandre Duret-Lutz.
* data/location.cc: Update copyright years.
(Position::operator==): Use parens to make precedence explicit.
Compare lines and columns first, as they are more likely to be
different, and they are faster to compare.
ChangeLog
data/location.cc