Use isdigit() instead of isnumber()
This commit is contained in:
parent
6cec11ba51
commit
acc3404d71
1 changed files with 1 additions and 1 deletions
|
|
@ -217,7 +217,7 @@ read_name(int is_symbol)
|
|||
do {
|
||||
if (isalpha(c))
|
||||
; /* c=tolower(c) */
|
||||
else if (isnumber(c))
|
||||
else if (isdigit(c))
|
||||
;
|
||||
else if (c == '-' || c == '_')
|
||||
c = '_';
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue