Don't be too pedantic in expr.c

This commit is contained in:
FRIGN 2015-02-20 13:45:57 +01:00
parent 31f0624f3d
commit b47dab2d4d

6
expr.c
View File

@ -80,10 +80,10 @@ doop(int *op, int **opp, Val *val, Val **valp)
break;
case '=': ret = (Val){ NULL, valcmp(a, b) == 0 }; break;
case '>': ret = (Val){ NULL, valcmp(a, b) > 0 }; break;
case GE: ret = (Val){ NULL, valcmp(a, b) >= 0 }; break;
case GE: ret = (Val){ NULL, valcmp(a, b) >= 0 }; break;
case '<': ret = (Val){ NULL, valcmp(a, b) < 0 }; break;
case LE: ret = (Val){ NULL, valcmp(a, b) <= 0 }; break;
case NE: ret = (Val){ NULL, valcmp(a, b) != 0 }; break;
case LE: ret = (Val){ NULL, valcmp(a, b) <= 0 }; break;
case NE: ret = (Val){ NULL, valcmp(a, b) != 0 }; break;
case '+': enan(a); enan(b); ret = (Val){ NULL, a.n + b.n }; break;
case '-': enan(a); enan(b); ret = (Val){ NULL, a.n - b.n }; break;