summaryrefslogtreecommitdiff
path: root/op.c
diff options
context:
space:
mode:
authorJames Mastros <theorb@desert-island.me.uk>2009-06-06 20:46:21 +0100
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2009-06-27 16:41:00 +0200
commitfe13d51d6409065a0214793b416a2eb3fe209949 (patch)
treec03b23501d91904230b9c1f81bbd638271d46325 /op.c
parent0e637710e635c1f42e13242e1ea416e9304090f6 (diff)
downloadperl-fe13d51d6409065a0214793b416a2eb3fe209949.tar.gz
Add test to make sure everything that outputs an exception or warning has a matching entry in perldiag (and fix it so that more of the existing ones do).
Diffstat (limited to 'op.c')
-rw-r--r--op.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/op.c b/op.c
index 748888704c..03fe906bb0 100644
--- a/op.c
+++ b/op.c
@@ -3857,7 +3857,7 @@ Perl_utilize(pTHX_ int aver, I32 floor, OP *version, OP *idop, OP *arg)
SV *meth;
if (version->op_type != OP_CONST || !SvNIOKp(vesv))
- Perl_croak(aTHX_ "Version number must be constant number");
+ Perl_croak(aTHX_ "Version number must be a constant number");
/* Make copy of idop so we don't free it twice */
pack = newSVOP(OP_CONST, 0, newSVsv(((SVOP*)idop)->op_sv));
@@ -8961,6 +8961,7 @@ const_sv_xsub(pTHX_ CV* cv)
if (items != 0) {
NOOP;
#if 0
+ /* diag_listed_as: SKIPME */
Perl_croak(aTHX_ "usage: %s::%s()",
HvNAME_get(GvSTASH(CvGV(cv))), GvNAME(CvGV(cv)));
#endif