mirror of
https://github.com/netwide-assembler/nasm
synced 2026-08-26 16:23:04 -04:00
For identifier-escapes beginning with $a-f to work, the $ hexadecimal prefix cannot be used, nor could it ever be used, with A-F immediately after the $. This is the main reason the $-hex has been deprecated. When adding the non-dollarhex mode, this got accidentally promoted to nasm_isnumchar() instead of nasm_isnumstart(), which broke using $-escaped identifiers in directives. To fix this properly, it would be a good thing to add a central identifier-skipping function. Fixes: https://github.com/netwide-assembler/nasm/issues/223 Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
15 lines
191 B
NASM
15 lines
191 B
NASM
nop
|
|
global global_before
|
|
global_before:
|
|
nop
|
|
extern extern_before
|
|
extern_before:
|
|
nop
|
|
global_after:
|
|
nop
|
|
global global_after
|
|
extern_after:
|
|
nop
|
|
extern extern_after
|
|
extern $foo
|
|
jmp foo
|