bug fix: did not return soon enough
authorceriel <none@none>
Wed, 1 Aug 1990 14:41:18 +0000 (14:41 +0000)
committerceriel <none@none>
Wed, 1 Aug 1990 14:41:18 +0000 (14:41 +0000)
util/ceg/defaults/C_out_skel.c

index 4549f11..5e679f0 100644 (file)
@@ -39,23 +39,12 @@ C_out(p)
                        break;
                case EM_MNEM:
                        /* normal instruction */
-{
-       register int parametertype;     /* parametertype of the instruction */
-
-       parametertype = em_flag[p->em_opcode-sp_fmnem] & EM_PAR;
-       switch(parametertype) {
-               default:
-                       break;
-               case PAR_W:
-                       if (p->em_argtype != 0) {
-                       }
-                       else {
+                       if ((em_flag[p->em_opcode-sp_fmnem] & EM_PAR) == PAR_W &&
+                           p->em_argtype == 0) {
 #include "C_mnem_narg"
-                       }
-                       break;
-       }
+                       } else {
 #include "C_mnem"
-}
+                       }
 
                        break;
                case EM_DEFILB: