[hackers] [sbase] Don't be too pedantic in expr.c || FRIGN

From: <git_AT_suckless.org>
Date: Fri, 20 Feb 2015 14:30:27 +0100 (CET)

commit 06603630f5954e44e293f5eec7fbaa40f49be3a2
Author: FRIGN <dev_AT_frign.de>
Date: Fri Feb 20 13:45:57 2015 +0100

    Don't be too pedantic in expr.c

diff --git a/expr.c b/expr.c
index bffbf31..5f1d6c1 100644
--- a/expr.c
+++ b/expr.c
_AT_@ -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;
Received on Fri Feb 20 2015 - 14:30:27 CET

This archive was generated by hypermail 2.3.0 : Fri Feb 20 2015 - 14:36:12 CET