From 5ca1be74b80cabad7c3378656788b3fb20ac3a2f Mon Sep 17 00:00:00 2001 From: ceriel Date: Fri, 3 Jul 1987 16:41:45 +0000 Subject: [PATCH] bug fix: did not check externals right --- modules/src/read_em/read_em.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/src/read_em/read_em.c b/modules/src/read_em/read_em.c index a28b214e5..8eed3437d 100644 --- a/modules/src/read_em/read_em.c +++ b/modules/src/read_em/read_em.c @@ -266,9 +266,10 @@ EM_getinstr(p) check(p->em_cst >= 0); break; case PAR_G: - if (p->em_argtype == cst_ptyp) { - check(p->em_cst >= 0); + if (p->em_argtype != cst_ptyp) { + break; } + check(p->em_cst >= 0); /* Fall through */ case PAR_F: /* ??? not in original em_decode or em_encode */