summary refs log tree commit diff
path: root/minic/minic.y
diff options
context:
space:
mode:
Diffstat (limited to 'minic/minic.y')
-rw-r--r--minic/minic.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/minic/minic.y b/minic/minic.y
index 85a5164..63fafc4 100644
--- a/minic/minic.y
+++ b/minic/minic.y
@@ -386,10 +386,10 @@ Again:
 		}
 		break;
 	case While:
-		x = expr(s->p1);
 		l = lbl;
 		lbl += 3;
 		fprintf(of, "@l%d\n", l);
+		x = expr(s->p1);
 		fprintf(of, "\tjnz ");                  /* ditto */
 		psymb(x);
 		fprintf(of, ", @l%d, @l%d\n", l+1, l+2);