commit b47dab2d4d588f604ead3ecde511e91f9c61c881
parent 31f0624f3db659c22a4d51bcf264f45e8ede6a97
Author: FRIGN <dev@frign.de>
Date: Fri, 20 Feb 2015 13:45:57 +0100
Don't be too pedantic in expr.c
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/expr.c b/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;