summaryrefslogtreecommitdiff
path: root/as/pops.c
diff options
context:
space:
mode:
Diffstat (limited to 'as/pops.c')
-rw-r--r--as/pops.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/as/pops.c b/as/pops.c
index 70efaf5..eb617f2 100644
--- a/as/pops.c
+++ b/as/pops.c
@@ -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();
+ }
}
}