develooper Front page | perl.perl5.porters | Postings from December 2001

[PATCH perldiag] missing "Malformed prototype"

Thread Next
Rafael Garcia-Suarez
December 30, 2001 13:21
[PATCH perldiag] missing "Malformed prototype"
Message ID:
The error "Malformed prototype" is missing for perldiag.

This doc patch describes the current behaviour, but
perhaps would you prefer a patch that implements syntax
checking on prototypes ?

--- pod/perldiag.pod.orig	Mon Dec 17 21:14:04 2001
+++ pod/perldiag.pod	Sun Dec 30 15:04:35 2001
@@ -1869,6 +1869,13 @@
 appear if components are not found, or are too long.  See
 "PERLLIB_PREFIX" in L<perlos2>.
+=item Malformed prototype for %s: %s
+(F) You tried to use a function which prototype was malformed.
+Currently the syntax of function prototypes is checked when the
+functions are used (without a leading &), not when the functions
+are declared.
 =item Malformed UTF-8 character (%s)
 Perl detected something that didn't comply with UTF-8 encoding rules.

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About