diff options
author | Karl Williamson <public@khwilliamson.com> | 2012-12-29 20:51:00 -0700 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2012-12-31 11:11:58 -0700 |
commit | 0eb30aebe20a48d634d4e484bc9e6005dffc1420 (patch) | |
tree | 589cc8865a3cb7728dc334a20bd41448dd563b88 /op.c | |
parent | 8a2bca12c113fc829e4af2bb42350a733a5ed773 (diff) | |
download | perl-0eb30aebe20a48d634d4e484bc9e6005dffc1420.tar.gz |
Change core calls of isALNUM() to isWORDCHAR()
The latter is more clearly named to indicate it includes the underscore.
Diffstat (limited to 'op.c')
-rw-r--r-- | op.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3121,10 +3121,10 @@ Perl_localize(pTHX_ OP *o, I32 lex) while (1) { if (*s && strchr("@$%*", *s) && *++s - && (isALNUM(*s) || UTF8_IS_CONTINUED(*s))) { + && (isWORDCHAR(*s) || UTF8_IS_CONTINUED(*s))) { s++; sigil = TRUE; - while (*s && (isALNUM(*s) || UTF8_IS_CONTINUED(*s))) + while (*s && (isWORDCHAR(*s) || UTF8_IS_CONTINUED(*s))) s++; while (*s && (strchr(", \t\n", *s))) s++; |