]> git.sur5r.net Git - cc65/commit
Added a warning if the result of a compare operation is constant. This should
authoruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Thu, 27 Aug 2009 22:00:18 +0000 (22:00 +0000)
committeruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Thu, 27 Aug 2009 22:00:18 +0000 (22:00 +0000)
commitd65928829f2de4d529edc2de4497bdfdd785374d
tree301f183923908567db8558a64a7e45aaa8fbc3fa
parent55e8f67640d1bac23945d064fcea41986a0c3e79
Added a warning if the result of a compare operation is constant. This should
protect against missing parenthesis like in (si & 0x7F == 0). Hopefully
without too many false positives.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4057 b7a2c559-68d2-44c3-8de9-860c34a00d81
src/cc65/expr.c