diff options
Diffstat (limited to 'x2p')
-rw-r--r-- | x2p/a2py.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/x2p/a2py.c b/x2p/a2py.c index 286f7cc106..f6944b9005 100644 --- a/x2p/a2py.c +++ b/x2p/a2py.c @@ -399,7 +399,7 @@ yylex(void) #define SNARFWORD \ d = tokenbuf; \ - while (isALPHA(*s) || isDIGIT(*s) || *s == '_') \ + while (isWORDCHAR(*s)) \ *d++ = *s++; \ *d = '\0'; \ d = tokenbuf; \ @@ -426,7 +426,7 @@ yylex(void) maxfld = tmp; XOP(FIELD); } - for (d = s; isALPHA(*s) || isDIGIT(*s) || *s == '_'; ) + for (d = s; isWORDCHAR(*s); ) s++; split_to_array = TRUE; if (d != s) |