mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-27 05:22:07 +00:00
Allow multiple identical exported numeric constants (#1341)
This still doesn't allow identical exported label constants. That can be addressed when or if it's requested for a real use case. Symbols only store one source filename + line number, so this arbitrarily keeps the last read symbol as the reported one.
This commit is contained in:
2
test/link/same-consts/a.asm
Normal file
2
test/link/same-consts/a.asm
Normal file
@@ -0,0 +1,2 @@
|
||||
def constant equ 42
|
||||
export constant
|
||||
Reference in New Issue
Block a user