From c2dc6da49ff8f4ca9a8a4c6f3cf67f5e462a6abf Mon Sep 17 00:00:00 2001 From: em Date: Wed, 5 Mar 1986 14:27:08 +0000 Subject: [PATCH] Added the possibility of a third field in the pseudo-instruction description. This change is upwards compatible with the previous version, t.i., it still works the same with the previous version of "em_table". --- etc/new_table | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/etc/new_table b/etc/new_table index ef83ccb06..b62e7a70a 100755 --- a/etc/new_table +++ b/etc/new_table @@ -10,7 +10,7 @@ ed - em_table <<'A' > X 1,/^$/g/ /s// /gp A -ed - em_table <<'A' | awk '{print $1,$2+'$p'}' > Y +ed - em_table <<'A' | awk '{$2=$2+'$p'; print}' > Y 1,/^$/d 1,/^$/g/ /s// /gp A @@ -31,6 +31,7 @@ g/^/s//#define sp_/p A ed - Y <<'A' > $h/em_pseu.h +g/ \(.*\) .*/s// \1/ g/\(.*\) \(.*\)/s//#define ps_\1 \2/p A