]> git.sur5r.net Git - cc65/commit
Move the expression test code into separate modules.
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Tue, 2 Mar 2004 18:00:08 +0000 (18:00 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Tue, 2 Mar 2004 18:00:08 +0000 (18:00 +0000)
commite47ed98aa76260babf1ff71023bf698a0475bc27
treec8463fe73c90288c55ff79894d3d45ea28846ae9
parent9d46a42600b193dac8634cc24d19edf88d8d391d
Move the expression test code into separate modules.
The Test() and TestInParens() functions do now return information about the
expression that was tested.
An if... statement where the expression is always true will now print a
warning "Unreachable code" if it has an else clause.

git-svn-id: svn://svn.cc65.org/cc65/trunk@2889 b7a2c559-68d2-44c3-8de9-860c34a00d81
src/cc65/expr.c
src/cc65/expr.h
src/cc65/make/gcc.mak
src/cc65/make/watcom.mak
src/cc65/stmt.c
src/cc65/testexpr.c [new file with mode: 0644]
src/cc65/testexpr.h [new file with mode: 0644]