mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-01-18 16:25:05 +08:00
nasm.h: fix definition of isidchar()
isidchar() also should accept digits. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
This commit is contained in:
parent
c77f5079e5
commit
9953992686
@ -400,7 +400,7 @@ static inline bool isidstart(char c)
|
||||
}
|
||||
static inline bool isidchar(char c)
|
||||
{
|
||||
return isidstart(c) || c == '$' || c == '#' || c == '~';
|
||||
return isidstart(c) || nasm_isdigit(c) || c == '$' || c == '#' || c == '~';
|
||||
}
|
||||
|
||||
static inline bool isbrcchar(char c)
|
||||
|
Loading…
Reference in New Issue
Block a user