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:
Sylvie
2024-03-13 14:06:20 -04:00
committed by GitHub
parent 68f6ab5c32
commit 67c707739d
5 changed files with 20 additions and 3 deletions

View File

@@ -0,0 +1,2 @@
def constant equ 42
export constant