summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
authorKarl Williamson <khw@khw-desktop.(none)>2010-05-30 21:54:32 -0600
committerRafael Garcia-Suarez <rgs@consttype.org>2010-06-01 00:13:18 +0200
commit1b1ee2ef87e2dcc8a1699cc870aefd1b91c5f645 (patch)
treef0ce6a0123fde8c77629ea14e789b72e1d8bb0dc /pod
parent51eec7ec9cf1a154df61e6fc6c46acab7c69b296 (diff)
downloadperl-1b1ee2ef87e2dcc8a1699cc870aefd1b91c5f645.tar.gz
PATCH: teach diag.t new warning function names
A number of function names that do warnings have been added, but diag.t hasn't kept up. This patch changes it to look for likely function names in embed.fnc, so it will automatically keep up in the future. There's no need to worry about it looking for inappropriate functions, as the syntax of messages that it looks for is so restrictive, that there won't be false positives. Instead there are still many messages it fails to catch. As a result of it's falling behind several issues have crept in. I resolved the couple I thought were clear (including one in a comment; diag.t doesn't strip comments, but mostly it doesn't matter), and added the others to the <DATA> section to ignore. are
Diffstat (limited to 'pod')
-rw-r--r--pod/perldiag.pod2
1 files changed, 1 insertions, 1 deletions
diff --git a/pod/perldiag.pod b/pod/perldiag.pod
index 8bb0f8526d..4d7d6adce8 100644
--- a/pod/perldiag.pod
+++ b/pod/perldiag.pod
@@ -1711,7 +1711,7 @@ in your false range is interpreted as a literal "-". Consider quoting the
"-", "\-". The <-- HERE shows in the regular expression about where the
problem was discovered. See L<perlre>.
-=item Fatal VMS error at %s, line %d
+=item Fatal VMS error (status=%d) at %s, line %d
(P) An error peculiar to VMS. Something untoward happened in a VMS
system service or RTL routine; Perl's exit status should provide more