scc

Simple C99 Compiler
Log | Files | Refs | README | LICENSE

commit 34a2f1d2c53189e62586d8b42d82c12b7aacd503
parent 42b7d44e5a719cb28265e58432dcdb306f687690
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Fri, 11 Jul 2014 22:49:13 +0200

Fix statement declararions

We lost TYPE case some commits ago

Diffstat:
cc1/stmt.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cc1/stmt.c b/cc1/stmt.c @@ -306,7 +306,7 @@ compound(Symbol *lbreak, Symbol *lcont, Caselist *lswitch) if (ahead() == ':') goto statement; /* pass through */ - case SCLASS: case TQUALIFIER: + case TYPE: case SCLASS: case TQUALIFIER: decl(); break; default: