summaryrefslogtreecommitdiff
path: root/toke.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1998-09-24 05:21:19 +0000
committerGurusamy Sarathy <gsar@cpan.org>1998-09-24 05:21:19 +0000
commit4810e5ece3e68c794a2f5f4b442ae6ee99d4998f (patch)
tree0021659ffe788dc406b41f6f46aa5a26b4628dad /toke.c
parent8ac04967afa079525f14b42d77496f34f82a67de (diff)
downloadperl-4810e5ece3e68c794a2f5f4b442ae6ee99d4998f.tar.gz
grandfather deprecated "$$<digit>" no more
p4raw-id: //depot/perl@1866
Diffstat (limited to 'toke.c')
-rw-r--r--toke.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/toke.c b/toke.c
index 3d59a4f287..844b9829b3 100644
--- a/toke.c
+++ b/toke.c
@@ -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;