Closed ghost closed 12 years ago
In two files this is allowed - is it an issue in a single file? would it be possible to post a little code? Just tried a quick test and it was OK? Thanks!
Sent from Samsung Galaxy Note
-------- Original message -------- Subject: [0x10c-DevKit] Multiple labels of the same name (#127) From: DarkChowder reply@reply.github.com To: Kieren Johnstone kierenj@gmail.com CC:
It doesn't seem to stop you, or even warn you if you have the same label in two places.
Reply to this email directly or view it on GitHub: https://github.com/kierenj/0x10c-DevKit/issues/127
:inf_loop set pc, inf_loop :inf_loop :inf_loop :inf_loop :inf_loop set A, 5; set pc, inf_loop
It seems the last label is the one it uses
Ah, wow. This relates to the other bug I raised last night with 'major labels'.. it will be fixed at the same time, which is top priority for the project. We'll add some unit tests to make sure errors are thrown when this happens (so we won't have the problem again ever). Thanks for the feedback.
Fixed for the next release!
It doesn't seem to stop you, or even warn you if you have the same label in two places.