summaryrefslogtreecommitdiff
path: root/perly.act
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2016-07-25 11:37:37 +0100
committerDavid Mitchell <davem@iabyn.com>2016-08-03 20:54:41 +0100
commitbb6b75cd5c416da00accfd5a10bde1a1cdde693a (patch)
tree956c6038ea8072fa1b31c6c87b51df5955bd2d78 /perly.act
parent074d538b7eafa2b914f33f16e3def54da691c66b (diff)
downloadperl-bb6b75cd5c416da00accfd5a10bde1a1cdde693a.tar.gz
ucfirst() new signature diagnostic messages
e.g. a slurpy parameter may not have a default value => A slurpy parameter may not have a default value Also, split the "Too %s arguments for subroutine" diagnostic into separate "too few" and "too many" entries in perldiag. Based on suggestions by Father Chrysostomos.
Diffstat (limited to 'perly.act')
-rw-r--r--perly.act4
1 files changed, 2 insertions, 2 deletions
diff --git a/perly.act b/perly.act
index 07e5fc29a4..407c27afc2 100644
--- a/perly.act
+++ b/perly.act
@@ -826,7 +826,7 @@ case 2:
PL_parser->sig_slurpy = sigil;
if (defexpr)
- yyerror("a slurpy parameter may not have "
+ yyerror("A slurpy parameter may not have "
"a default value");
(yyval.opval) = var ? newSTATEOP(0, NULL, var) : (OP*)NULL;
@@ -1973,6 +1973,6 @@ case 2:
/* Generated from:
- * 6deb43709ef5dcefc6a8b7059606df5a86eae75b6a769e7451f39368b1de5d9d perly.y
+ * f197986843aaef0ab285344b7144e3bf7b35fea3ed9aa46884a25d31c7485700 perly.y
* 3e1dff60f26df8933d7aed0c0e87177a0f022c14800c0707eb62a7db4196ac98 regen_perly.pl
* ex: set ro: */