summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
Diffstat (limited to 'generic')
-rwxr-xr-xgeneric/tclStrToD.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclStrToD.c b/generic/tclStrToD.c
index f98f8c3..1892d70 100755
--- a/generic/tclStrToD.c
+++ b/generic/tclStrToD.c
@@ -1121,7 +1121,7 @@ TclParseNumber(
while(0) {
checktrail:
- if ((c>='0')&&(c<='9')||(c>='A')&&(c<='Z')||(c>='a')&&(c<='z')||(c=='_')) {
+ if (isalnum(UCHAR(c))||(c=='_')) {
/* bareword prefixed by Nan, Inf, etc. */
acceptState = INITIAL;
}