diff options
Diffstat (limited to 'as/pops.c')
-rw-r--r-- | as/pops.c | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -175,6 +175,12 @@ pfv func; elseflag = FALSE; } } + else + { + /* Skip to EOL */ + while (sym != EOLSYM) + getsym(); + } } } @@ -213,6 +219,13 @@ unsigned char labits; labptr->data = lastexp.data; labptr->value_reg_or_op.value = lastexp.offset; showlabel(); + + if(pass && !(labits & VARBIT) && labptr->value_reg_or_op.value != oldlabel) + { + dirty_pass = TRUE; + if( pass == last_pass ) + error(UNSTABLE_LABEL); + } } /* common routine for ENTRY/EXPORT */ @@ -398,6 +411,12 @@ pfv func; elseflag = TRUE;/* but ELSE will change that */ } } + else + { + /* Skip to EOL */ + while (sym != EOLSYM) + getsym(); + } } } |