commit 813b9848feb7c50708fee6fd00f006a85ca4779e
parent 3e3d8d6fa48c37fc6b45fdabaaac2a5b7ffac7b2
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date: Sun, 30 Mar 2014 13:37:27 +0200
Remove uselesscasting in accept definition
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cc.h b/cc.h
@@ -176,7 +176,7 @@ extern Type *voidtype,
#define AUTO 4
#define REGISTER 5
-#define accept(t) ((bool) (yytoken == (t) ? next() : 0))
+#define accept(t) ((yytoken == (t)) ? next() : 0)
#define ahead() yyntoken
enum tokens {