Merge pull request #384 from dbrotz/fix-local-label-segfault

Check if parent exists for local label reference
This commit is contained in:
Eldred Habert authored and GitHub committed 2019-08-29 19:05:27 +02:00
commit b069278e98
4 files changed
+10

No files matched your search

+3
View File
@@ -0,0 +1,3 @@
SECTION "sec", ROM0
dw .test
+2
View File
@@ -0,0 +1,2 @@
ERROR: local-ref-without-parent.asm(3):
Local label reference '.test' in main scope
@@ -0,0 +1,2 @@
ERROR: -(3):
Local label reference '.test' in main scope