summaryrefslogtreecommitdiff
path: root/perl.h
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 /perl.h
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 'perl.h')
-rw-r--r--perl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl.h b/perl.h
index 4f4130e40f..5b221fa90b 100644
--- a/perl.h
+++ b/perl.h
@@ -1027,6 +1027,7 @@ EXTERN_C int usleep(unsigned int);
# define MALLOC_CHECK_TAINT(argc,argv,env)
#endif /* MYMALLOC */
+/* diag_listed_as: "-T" is on the #! line, it must also be used on the command line */
#define TOO_LATE_FOR_(ch,what) Perl_croak(aTHX_ "\"-%c\" is on the #! line, it must also be used on the command line%s", (char)(ch), what)
#define TOO_LATE_FOR(ch) TOO_LATE_FOR_(ch, "")
#define MALLOC_TOO_LATE_FOR(ch) TOO_LATE_FOR_(ch, " with $ENV{PERL_MALLOC_OPT}")