scc

simple C compiler
git clone git://git.2f30.org/scc
Log | Files | Refs | README | LICENSE

commit 4eae9c9960daf75a98fbfa57c6343999c3b0ca1b
parent 04cb41489c622c8c67321ff6ca713766877e1d17
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Thu, 24 Apr 2014 09:30:51 +0200

Format stmt() switch

Diffstat:
Mstmt.c | 14+++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/stmt.c b/stmt.c @@ -166,14 +166,14 @@ static void 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; } }