fachat / xa65

6502/65816 cross assembler
http://www.floodgap.com/retrotech/xa/
55 stars 8 forks source link

Provide location for already defined label #18

Open fachat opened 5 months ago

fachat commented 5 months ago

In the error message when a label was defined that had already been defined, put the location (source file, line number) of the original location.

Rationale: in large code bases with many blocks, it might be that a label has been defined really elsewhere and difficult to find even with search (if you don't expect it there). A hint where this label has been defined before would be very helpful