shithub: scc

Download patch

ref: 813b9848feb7c50708fee6fd00f006a85ca4779e
parent: 3e3d8d6fa48c37fc6b45fdabaaac2a5b7ffac7b2
author: Roberto E. Vargas Caballero <[email protected]>
date: Sun Mar 30 09:37:27 EDT 2014

Remove uselesscasting in accept definition

--- a/cc.h
+++ b/cc.h
@@ -176,7 +176,7 @@
 #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 {