From 5e0c991af9052f74dfa7e31864d4b9914977ba8c Mon Sep 17 00:00:00 2001 From: Quentin Carbonneaux Date: Sun, 8 Nov 2015 10:32:02 -0500 Subject: another return fix in minic --- minic/minic.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'minic/minic.y') diff --git a/minic/minic.y b/minic/minic.y index c2af7f6..6c9d69d 100644 --- a/minic/minic.y +++ b/minic/minic.y @@ -535,7 +535,7 @@ stmt(Stmt *s, int b) if (s->p3) if (!(r &= stmt(s->p3, b))) fprintf(of, "@l%d\n", l+2); - return r; + return s->p3 && r; case While: l = lbl; lbl += 3; -- cgit 1.4.1