summaryrefslogtreecommitdiff
path: root/perly.c
diff options
context:
space:
mode:
authorDagfinn Ilmari Mannsåker <ilmari@ilmari.org>2013-06-27 16:48:36 +0100
committerRicardo Signes <rjbs@cpan.org>2013-12-22 13:28:20 -0500
commit8c74b41425572faeb638f1269025b59d0785794f (patch)
tree968acdd55f7bc4c12ad7784d21ba7a19389f9014 /perly.c
parent919ec23b10e41ed5c6aaf77a8ae3d2f7ef279f1b (diff)
downloadperl-8c74b41425572faeb638f1269025b59d0785794f.tar.gz
Remove support for "do SUBROUTINE(LIST)"
It's been deprecated (and emitting a warning) since Perl v5.0.0, and support for it consitutes nearly 3% of the grammar.
Diffstat (limited to 'perly.c')
-rw-r--r--perly.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/perly.c b/perly.c
index 5a934dccd9..d8eedf2652 100644
--- a/perly.c
+++ b/perly.c
@@ -433,9 +433,6 @@ Perl_yyparse (pTHX_ int gramtype)
switch (yyn) {
-
-#define dep() deprecate("\"do\" to call subroutines")
-
#ifdef PERL_IN_MADLY_C
# define IVAL(i) (i)->tk_lval.ival
# define PVAL(p) (p)->tk_lval.pval