[Nasm-bugs] [Bug 3392632] [Feature request] [Patch] Add label-no-colon warning

noreply-nasm at dev.nasm.us noreply-nasm at dev.nasm.us
Sun Nov 15 10:09:41 PST 2020


https://bugzilla.nasm.us/show_bug.cgi?id=3392632

--- Comment #5 from C. Masloch <pushbx at ulukai.org> ---
Here's a use case for this warning:
https://stackoverflow.com/questions/64844975/call-in-x86-real-mode-does-not-save-return-address/64845693#64845693

A user accidentally entered the line "pos es", instead of "pop es". The "pos"
was taken as a valid, non-orphan label. The "es" was accepted as a segment
override prefix specified on its own, instead of as a parameter. This error
would have been caught by the label-no-colon warning.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are on the CC list for the bug.


More information about the Nasm-bugs mailing list