From 0b8a55c0cfe1d7bcf9d6a3e1e476fa4fc5f24da4 Mon Sep 17 00:00:00 2001 From: ceriel Date: Tue, 15 Mar 1988 11:29:39 +0000 Subject: [PATCH] adapted to new ip_spec.t --- doc/em/int/Makefile | 8 ++++---- doc/em/int/em.p | 1 + doc/em/int/mktables.c | 3 +++ 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/doc/em/int/Makefile b/doc/em/int/Makefile index ab19fd0f3..8aed29f70 100644 --- a/doc/em/int/Makefile +++ b/doc/em/int/Makefile @@ -4,12 +4,12 @@ HOME=../../.. install \ all: em emdmp tables -tables: mktables $(HOME)/util/ass/ip_spec.t - mktables $(HOME)/util/ass/ip_spec.t tables +tables: mktables $(HOME)/etc/ip_spec.t + mktables $(HOME)/etc/ip_spec.t tables mktables: mktables.c $(HOME)/h/em_spec.h $(HOME)/h/em_flag.h \ - $(HOME)/util/data/em_data.a $(HOME)/util/ass/ip_spec.h - cc -I$(HOME) -O -o mktables mktables.c $(HOME)/util/data/em_data.a + $(HOME)/lib/em_data.a $(HOME)/util/ass/ip_spec.h + cc -I$(HOME) -O -o mktables mktables.c $(HOME)/lib/em_data.a em.out: em.p apc -mint -O em.p >emerrs ; mv e.out em.out diff --git a/doc/em/int/em.p b/doc/em/int/em.p index 72fcd51a2..f26402a36 100644 --- a/doc/em/int/em.p +++ b/doc/em/int/em.p @@ -962,6 +962,7 @@ begin begin iflag:=f; instr:=insr; if '2' in cset then ilength:=2 + else if 'u' in cset then ilength:=2 else if '4' in cset then ilength:=4 else if '8' in cset then ilength:=8 else if (mini in f) or (short in f) then diff --git a/doc/em/int/mktables.c b/doc/em/int/mktables.c index 62b2a6136..c92eff012 100644 --- a/doc/em/int/mktables.c +++ b/doc/em/int/mktables.c @@ -166,6 +166,8 @@ int decflag(str,opc) char *str ; { check(type) ; type=OP32 ; break ; case '8' : check(type) ; type=OP64 ; break ; + case 'u' : + check(type) ; type=OP16U ; break ; case 'e' : check(escape) ; escape=0 ; break ; case 'N' : @@ -188,6 +190,7 @@ int decflag(str,opc) char *str ; { if ( escape!=ILLGL ) error("Conflicting escapes") ; escape=ILLGL ; case OP16 : + case OP16U : case OP8 : case OPSHORT : case OPNO : -- 2.34.1