diff options
author | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2015-11-08 10:32:02 -0500 |
---|---|---|
committer | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2015-11-08 10:36:42 -0500 |
commit | 5e0c991af9052f74dfa7e31864d4b9914977ba8c (patch) | |
tree | 951ee6f1500c55b8f49eca4d884d8dd1ce713143 /minic | |
parent | 1f2261b5a3d4be901ef3f3bb43f2c7456c408427 (diff) | |
download | roux-5e0c991af9052f74dfa7e31864d4b9914977ba8c.tar.gz |
another return fix in minic
Diffstat (limited to 'minic')
-rw-r--r-- | minic/minic.y | 2 |
1 files changed, 1 insertions, 1 deletions
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; |