Don't be too pedantic in expr.c
This commit is contained in:
parent
31f0624f3d
commit
b47dab2d4d
6
expr.c
6
expr.c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user