RPGHacker / asar

(Now) official repository of the SNES assembler Asar, originally created by Alcaro
Other
195 stars 42 forks source link

"if static_label" in struct returns invalid label name #315

Open Ladida4842 opened 3 months ago

Ladida4842 commented 3 months ago
!rb as2
e = 1
struct aaaaa
if e
endif
endstruct

this returns:

Errors occurred while assembling.
<input>:4: error: (Einvalid_label_name): Invalid label name.
    in block: [if e]

given that static labels are supposed to work as "constants" this makes it a bit inconvenient