New installation mechanism

This commit is contained in:
ceriel
1991-09-05 11:33:24 +00:00
parent 3b79dad306
commit ec2c82db83
5 changed files with 76 additions and 7 deletions

View File

@@ -1,8 +1,9 @@
EM_TABLE=../../../etc/em_table
EM_TABLE=$1
argtype=$2
echo "switch(p->em_opcode) {"
for i in - cdflnorswz p b
do
list=`./argtype $i $EM_TABLE`
list=`$argtype $i $EM_TABLE`
case $i in
-) args='()'
echo " /* no arguments */"
@@ -32,7 +33,7 @@ do
EOF
done
done
list=`./argtype g $EM_TABLE`
list=`$argtype g $EM_TABLE`
cat << 'EOF'
default:
/* a "g" argument */