[Nasm-bugs] [Bug 3392624] Small diagnostic error

noreply-nasm at dev.nasm.us noreply-nasm at dev.nasm.us
Thu Oct 17 16:16:08 PDT 2019


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

H. Peter Anvin <hpa at zytor.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|OPEN                        |CLOSED
         Resolution|---                         |INVALID

--- Comment #1 from H. Peter Anvin <hpa at zytor.com> ---
It is not an error.

The $ is a prefix, and not part of the name. (It gets a bit confusing, because
a $ sign *can* be part of a name; if it is the first character it needs another
$ to escape it, i.e. $$ret creates a label named "$ret".)

This is not an academic distinction, either: "foo" and "$foo" will match the
same label, and "$ret" is exported as "ret" in external symbol tables.

-- 
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