commit 5182ec4cbc4178dc5a7eba8ef21b210a6977c0cb
parent 919f683654be6fe0e0a7b19adc144d3a84f089b2
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date: Thu, 24 Apr 2014 08:33:40 +0200
Remove unneeded code from compound()
A compound statement is a a statement, so it is already checked in
stmt(), so it has not to be checked in compound().
Diffstat:
1 file changed, 0 insertions(+), 3 deletions(-)
diff --git a/stmt.c b/stmt.c
@@ -85,9 +85,6 @@ compound(Symbol *lbreak, Symbol *lcont, Symbol *lswitch)
case '}':
next();
return;
- case '{':
- compound(lbreak, lcont, lswitch);
- break;
case TYPE: case SCLASS: case TQUALIFIER:
decl();
break;