4997 |
previous = NULL; |
previous = NULL; |
4998 |
while ((cd->ctypes[*++ptr] & ctype_letter) != 0) {}; |
while ((cd->ctypes[*++ptr] & ctype_letter) != 0) {}; |
4999 |
namelen = (int)(ptr - name); |
namelen = (int)(ptr - name); |
5000 |
|
|
5001 |
|
/* It appears that Perl allows any characters whatsoever, other than |
5002 |
|
a closing parenthesis, to appear in arguments, so we no longer insist on |
5003 |
|
letters, digits, and underscores. */ |
5004 |
|
|
5005 |
if (*ptr == CHAR_COLON) |
if (*ptr == CHAR_COLON) |
5006 |
{ |
{ |
5007 |
arg = ++ptr; |
arg = ++ptr; |
5008 |
while ((cd->ctypes[*ptr] & (ctype_letter|ctype_digit)) != 0 |
while (*ptr != 0 && *ptr != CHAR_RIGHT_PARENTHESIS) ptr++; |
|
|| *ptr == '_') ptr++; |
|
5009 |
arglen = (int)(ptr - arg); |
arglen = (int)(ptr - arg); |
5010 |
} |
} |
5011 |
|
|
5012 |
if (*ptr != CHAR_RIGHT_PARENTHESIS) |
if (*ptr != CHAR_RIGHT_PARENTHESIS) |
5013 |
{ |
{ |
5014 |
*errorcodeptr = ERR60; |
*errorcodeptr = ERR60; |