ref: 4eae9c9960daf75a98fbfa57c6343999c3b0ca1b
parent: 04cb41489c622c8c67321ff6ca713766877e1d17
author: Roberto E. Vargas Caballero <[email protected]>
date: Thu Apr 24 05:30:51 EDT 2014
Format stmt() switch
--- a/stmt.c
+++ b/stmt.c
@@ -166,14 +166,14 @@
stmt(Symbol *lbreak, Symbol *lcont, Symbol *lswitch)
{
switch (yytoken) {
- case '{': compound(lbreak, lcont, lswitch); break;
- case RETURN: Return(); break;
- case WHILE: While(lswitch); break;
- case FOR: For(lswitch); break;
- case DO: Dowhile(lswitch); break;
- case BREAK: Break(lbreak); break;
+ case '{': compound(lbreak, lcont, lswitch); break;
+ case RETURN: Return(); break;
+ case WHILE: While(lswitch); break;
+ case FOR: For(lswitch); break;
+ case DO: Dowhile(lswitch); break;
+ case BREAK: Break(lbreak); break;
case CONTINUE: Continue(lcont); break;
- default: stmtexp(); break;
+ default: stmtexp(); break;
}
}