diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2003-04-24 19:17:03 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2003-04-24 19:17:03 +0000 |
commit | 662cfb91ccb8a61683790b76b643e966ac005e8d (patch) | |
tree | 1686343a0aabb0b12c8ccd510b7c81103995f203 /perl_checker.src/types.mli | |
parent | a8c17fafaed296f970c218cec4ffe3ba72a9cb7d (diff) | |
download | perl-MDK-Common-662cfb91ccb8a61683790b76b643e966ac005e8d.tar perl-MDK-Common-662cfb91ccb8a61683790b76b643e966ac005e8d.tar.gz perl-MDK-Common-662cfb91ccb8a61683790b76b643e966ac005e8d.tar.bz2 perl-MDK-Common-662cfb91ccb8a61683790b76b643e966ac005e8d.tar.xz perl-MDK-Common-662cfb91ccb8a61683790b76b643e966ac005e8d.zip |
- handle empty prototypes
- check number of parameters in method calls
(ignoring empty overloaded methods)
- allow non-empty prototypes for methods not using @_
Diffstat (limited to 'perl_checker.src/types.mli')
-rw-r--r-- | perl_checker.src/types.mli | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl_checker.src/types.mli b/perl_checker.src/types.mli index c8fbeaa..1a33d20 100644 --- a/perl_checker.src/types.mli +++ b/perl_checker.src/types.mli @@ -47,10 +47,10 @@ type fromparser = | Call of fromparser * fromparser list | Method_call of fromparser * fromparser * fromparser list - | Anonymous_sub of fromparser * pos + | Anonymous_sub of string option * fromparser * pos (* prototype, expr, pos *) | My_our of string * (context * string) list * pos | Use of fromparser * fromparser list - | Sub_declaration of fromparser * string * fromparser (* name, prototype, body *) + | Sub_declaration of fromparser * string option * fromparser (* name, prototype, body *) | Package of fromparser | Label of string | Perl_checker_comment of string * pos |