scc

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

commit cd53c9b23ec34490e3f34a155a6d5bce8fdc53d1
parent d6c6483728fa4ad0577f51fd26d7ef29ea91e7b3
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Mon, 17 Feb 2014 10:46:00 +0100

Do not expect a ';' after do while statement

All the statement will expect a ';' after them, but it is expected
in the expr() call that is after them, so remove this call that can
generate some problems.

Diffstat:
Mflow.c | 1-
1 file changed, 0 insertions(+), 1 deletion(-)

diff --git a/flow.c b/flow.c @@ -73,7 +73,6 @@ Do(void) expect('('); cond = expr(); expect(')'); - expect(';'); push(ODO); np = node(ODO, body, cond);