diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2003-05-27 09:01:04 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2003-05-27 09:01:04 +0000 |
commit | 487b90f5397f85d30031f4125f74f5f86b297fc9 (patch) | |
tree | 030a48152d9a59abffe0d8af693549e29c0b6b76 /perl_checker.src/parser_helper.mli | |
parent | 089e13bfbffff1f8318d7543abb5e9318c2f7200 (diff) | |
download | perl-MDK-Common-487b90f5397f85d30031f4125f74f5f86b297fc9.tar perl-MDK-Common-487b90f5397f85d30031f4125f74f5f86b297fc9.tar.gz perl-MDK-Common-487b90f5397f85d30031f4125f74f5f86b297fc9.tar.bz2 perl-MDK-Common-487b90f5397f85d30031f4125f74f5f86b297fc9.tar.xz perl-MDK-Common-487b90f5397f85d30031f4125f74f5f86b297fc9.zip |
- disallow return(...), prefering return ...
- P_call_no_paren has a lower priority than P_comma
Diffstat (limited to 'perl_checker.src/parser_helper.mli')
-rw-r--r-- | perl_checker.src/parser_helper.mli | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/perl_checker.src/parser_helper.mli b/perl_checker.src/parser_helper.mli index 9a5e2fa..fc27172 100644 --- a/perl_checker.src/parser_helper.mli +++ b/perl_checker.src/parser_helper.mli @@ -65,6 +65,8 @@ val warn_no_space : int -> unit val warn_cr : int -> unit val warn_space : int -> unit val prio_less : Types.priority * Types.priority -> bool +val prio_lo_check : + Types.priority -> Types.priority -> int * int -> Types.fromparser -> unit val prio_lo : Types.priority -> Types.fromparser Types.prio_anyexpr Types.any_spaces_pos -> @@ -182,9 +184,24 @@ val po_comments : string list ref val po_comment : string Types.any_spaces_pos -> unit val check_format_a_la_printf : string -> int -> unit val generate_pot : string -> unit -val call_func : +val call_raw : bool -> Types.fromparser * Types.fromparser list -> Types.fromparser val call : Types.fromparser * Types.fromparser list -> Types.fromparser +val call_func : + Types.fromparser Types.any_spaces_pos -> + Types.fromparser list Types.prio_anyexpr Types.any_spaces_pos -> + Types.fromparser +val check_return : + Types.fromparser Types.any_spaces_pos -> + Types.fromparser list Types.prio_anyexpr Types.any_spaces_pos -> unit +val call_no_paren : + Types.fromparser Types.any_spaces_pos -> + Types.fromparser list Types.prio_anyexpr Types.any_spaces_pos -> + Types.fromparser Types.prio_anyexpr Types.any_spaces_pos +val call_with_paren : + Types.fromparser Types.any_spaces_pos -> + Types.fromparser list Types.prio_anyexpr Types.any_spaces_pos -> + Types.fromparser Types.prio_anyexpr Types.any_spaces_pos val call_and_context : Types.fromparser * Types.fromparser list -> Types.priority -> |