bug fix: did not check externals right

This commit is contained in:
ceriel 1987-07-03 16:41:45 +00:00
parent 5838d4899d
commit 5ca1be74b8

View file

@ -266,9 +266,10 @@ EM_getinstr(p)
check(p->em_cst >= 0); check(p->em_cst >= 0);
break; break;
case PAR_G: case PAR_G:
if (p->em_argtype == cst_ptyp) { if (p->em_argtype != cst_ptyp) {
check(p->em_cst >= 0); break;
} }
check(p->em_cst >= 0);
/* Fall through */ /* Fall through */
case PAR_F: case PAR_F:
/* ??? not in original em_decode or em_encode */ /* ??? not in original em_decode or em_encode */