diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1998-09-24 05:21:19 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1998-09-24 05:21:19 +0000 |
commit | 4810e5ece3e68c794a2f5f4b442ae6ee99d4998f (patch) | |
tree | 0021659ffe788dc406b41f6f46aa5a26b4628dad /toke.c | |
parent | 8ac04967afa079525f14b42d77496f34f82a67de (diff) | |
download | perl-4810e5ece3e68c794a2f5f4b442ae6ee99d4998f.tar.gz |
grandfather deprecated "$$<digit>" no more
p4raw-id: //depot/perl@1866
Diffstat (limited to 'toke.c')
-rw-r--r-- | toke.c | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -5075,12 +5075,9 @@ scan_ident(register char *s, register char *send, char *dest, STRLEN destlen, I3 return s; } if (*s == '$' && s[1] && - (isALNUM(s[1]) || strchr("${", s[1]) || strnEQ(s+1,"::",2)) ) + (isALNUM(s[1]) || strchr("${", s[1]) || strnEQ(s+1,"::",2)) ) { - if (isDIGIT(s[1]) && PL_lex_state == LEX_INTERPNORMAL) - deprecate("\"$$<digit>\" to mean \"${$}<digit>\""); - else - return s; + return s; } if (*s == '{') { bracket = s; |