From 27b1d561b542b55e3d469952f804c5bc843709b5 Mon Sep 17 00:00:00 2001 From: ceriel Date: Wed, 25 Jul 1990 17:10:40 +0000 Subject: [PATCH] do not move ms_std message, added shc.c and shc.h to .distr --- util/opt/.distr | 3 +++ util/opt/backward.c | 6 ++++++ 2 files changed, 9 insertions(+) diff --git a/util/opt/.distr b/util/opt/.distr index 756b0405b..791945007 100644 --- a/util/opt/.distr +++ b/util/opt/.distr @@ -18,11 +18,14 @@ param.h pattern.h patterns peephole.c +pop_push.awk process.c proinf.h putline.c reg.c scan.l +shc.c +shc.h special.c testopt types.h diff --git a/util/opt/backward.c b/util/opt/backward.c index 00c5ee0ec..b6c117a5a 100644 --- a/util/opt/backward.c +++ b/util/opt/backward.c @@ -13,6 +13,7 @@ static char rcsid[] = "$Header$"; #include #include #include +#include #include "ext.h" /* @@ -160,6 +161,11 @@ backward() { goodrom = (rc >= 2); break; case ps_mes: + if ((int) aoff(lnp->l_a.la_arg, 0) == ms_std) { + lnp->l_next = i; + i = lnp; + continue; + } break; case ps_inp: case ps_ina: -- 2.34.1