Local labels are also valid for EQU declaration
Hi,
Using a sample "Hello, world" ASM code I found on Internet, I discovered that using a local label, ".len", on a "EQU" statement seems to be valid. The following code compiles with NASM 2.15.05 and works:
Your plugin flags it as invalid. Is it something you can change?
Regards
Yeah this is a known problem with the lexer, for a quick workaround just add a colon (:) at the end of .len like so:
.len: equ $-message
You mean a colon? I already tried before opening this ticket, it only moved the error on equ :)
Yeah I meant a colon haha! I'll try to find some spare time to tinker with the lex later today.