mirror of
https://github.com/netwide-assembler/nasm
synced 2026-08-26 16:23:04 -04:00
readnum: improve help text about deprecated $hex
State that the right thing to do is $hex -> 0xhex. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
This commit is contained in:
parent
54efdde7b1
commit
ebfdbfc355
1 changed files with 2 additions and 1 deletions
|
|
@ -52,7 +52,8 @@ void warn_dollar_hex(void)
|
|||
*! warns that the \c{$} prefix for hexadecimal numbers is
|
||||
*! deprecated, due to the syntactic conflict with \c{$} used
|
||||
*! as a symbol escape prefix. This syntax may be disabled by
|
||||
*! default in a future version of NASM.
|
||||
*! default in a future version of NASM. Replace \c{$} with \c{0x}
|
||||
*! to ensure compatibility with future versions.
|
||||
*/
|
||||
nasm_warn(WARN_NUMBER_DEPRECATED_HEX,
|
||||
"$ prefix for hexadecimal is deprecated");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue