git: 9front

Download patch

ref: 4d7eac1ab10c2a060e3b1186acc67316d701016a
parent: ab140b1cac934004e39905336272595c3f0fbad5
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Wed Dec 27 18:07:06 EST 2023

rc: handle Xeflag in exitnext()

--- a/sys/src/cmd/rc/simple.c
+++ b/sys/src/cmd/rc/simple.c
@@ -18,7 +18,7 @@
 loop:
 	c=&p->code[p->pc];
 	while(1){
-		if(c->f==Xpopredir || c->f==Xunlocal)
+		if(c->f==Xpopredir || c->f==Xunlocal || c->f==Xeflag)
 			c++;
 		else if(c->f==Xsrcline)
 			c += 2;
--