shithub: riscv

Download patch

ref: 6b0150764cc579c3764e6ed2a6db1237f11577de
parent: 37a8fc6168b3bf82df198fb20be5a8a53996187c
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;