shithub: scc

Download patch

ref: cd53c9b23ec34490e3f34a155a6d5bce8fdc53d1
parent: d6c6483728fa4ad0577f51fd26d7ef29ea91e7b3
author: Roberto E. Vargas Caballero <[email protected]>
date: Mon Feb 17 05:46:00 EST 2014

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.

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