diff options
author | David Mitchell <davem@iabyn.com> | 2016-07-25 11:37:37 +0100 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2016-08-03 20:54:41 +0100 |
commit | bb6b75cd5c416da00accfd5a10bde1a1cdde693a (patch) | |
tree | 956c6038ea8072fa1b31c6c87b51df5955bd2d78 /perly.y | |
parent | 074d538b7eafa2b914f33f16e3def54da691c66b (diff) | |
download | perl-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.y')
-rw-r--r-- | perly.y | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -662,7 +662,7 @@ sigslurpelem: sigslurpsigil sigvarname sigdefault/* def only to catch errors */ PL_parser->sig_slurpy = sigil; if (defexpr) - yyerror("a slurpy parameter may not have " + yyerror("A slurpy parameter may not have " "a default value"); $$ = var ? newSTATEOP(0, NULL, var) : (OP*)NULL; |