Check if parent exists for local label reference

If an attempt is made to reference a local label before any non-local label
is defined, raise an error instead of segfaulting.
This commit is contained in:
dbrotz
2019-08-20 09:57:53 -07:00
parent e33e6e2413
commit a6bf77718c
4 changed files with 10 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
SECTION "sec", ROM0
dw .test