commit 5e0c991af9052f74dfa7e31864d4b9914977ba8c parent 1f2261b5a3d4be901ef3f3bb43f2c7456c408427 Author: Quentin Carbonneaux <quentin.carbonneaux@yale.edu> Date: Sun, 8 Nov 2015 10:32:02 -0500 another return fix in minic Diffstat:
| M | minic/minic.y | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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;