scc

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

commit 3e7e69413c50005c9e35de23fab8fc8ec9604f68
parent 8c3f4becbfcf1c268d58909bd61d4045d0e21302
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Tue, 12 Jun 2012 21:51:46 +0200

Expect ; in all the statement, not only in expressions

This commit allow that all the statement can end with the ;

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

diff --git a/flow.c b/flow.c @@ -106,9 +106,9 @@ void stmt(void) /* TODO: check if it can be a label */ default: expr(); - expect(';'); break; } + expect(';'); } void compound(void)