The check for a too high offset in a hol is repaired.

This commit is contained in:
keie 1984-07-13 15:03:05 +00:00
parent 36af1e09be
commit 73da8c2a2c

View file

@ -60,10 +60,10 @@ pass_3()
default:
if ( lnp->type1==CONST && (em_flag[insno]&EM_PAR)==PAR_G ) {
if (holbase != 0) {
lnp->ad.ad_i += holbase;
if (lnp->ad.ad_i >= holsize) {
hol_err_line= line_num ;
}
lnp->ad.ad_i += holbase;
}
} else
if ( lnp->type1>=VALLOW && (em_flag[insno]&EM_PAR)==PAR_G ) {