yet another fix: outoperand must do nothing with ps_end

This commit is contained in:
ceriel 1987-07-30 08:59:40 +00:00
parent 580bb15076
commit 0e9f072917

View file

@ -271,7 +271,8 @@ STATIC outoperand(lnp)
switch(TYPE(lnp)) { switch(TYPE(lnp)) {
case OPNO: case OPNO:
if ((em_flag[INSTR(lnp)-sp_fmnem]&EM_PAR) != PAR_NO) { if (INSTR(lnp) <= sp_lmnem &&
(em_flag[INSTR(lnp)-sp_fmnem]&EM_PAR) != PAR_NO) {
outbyte((byte) sp_cend); outbyte((byte) sp_cend);
} }
break; break;