lint: additional type tests in expressions

This commit is contained in:
dick
1988-09-29 15:24:02 +00:00
parent ebdabbcaee
commit 7795cbe549
11 changed files with 320 additions and 77 deletions

View File

@@ -166,7 +166,6 @@ lint_oper(expr, val, used)
case ANDAB:
case XORAB:
case ORAB:
lint_conversion(oper, right->ex_type, left->ex_type);
/* for cases like i += l; */
esp1 = lint_expr(right, RVAL, USED);
if (oper != '=') {
@@ -269,7 +268,6 @@ lint_oper(expr, val, used)
case INT2FLOAT:
case FLOAT2INT:
case FLOAT2FLOAT:
lint_conversion(oper, right->ex_type, left->ex_type);
return lint_expr(right, RVAL, USED);
case '<':