From c6bad2017a04dd8d10ddc7e38bf78bfd121b52c4 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 5 Dec 2002 23:24:35 +0000 Subject: perl_checker now checks usage of $_ --- perl_checker.src/parser_helper.mli | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'perl_checker.src/parser_helper.mli') diff --git a/perl_checker.src/parser_helper.mli b/perl_checker.src/parser_helper.mli index a5b0837..d3a1028 100644 --- a/perl_checker.src/parser_helper.mli +++ b/perl_checker.src/parser_helper.mli @@ -5,7 +5,7 @@ val pos_range : val sp_pos_range : 'a * ('b * (int * int)) -> 'c * ('d * (int * int)) -> 'b * (int * int) val get_pos : 'a * ('b * ('c * 'd)) -> string * 'c * 'd -val var_dollar_ : Types.fromparser +val var_dollar_ : Types.pos -> Types.fromparser val var_STDOUT : Types.fromparser val is_var_dollar_ : Types.fromparser -> bool val is_var_number_match : Types.fromparser -> bool @@ -110,7 +110,8 @@ val op_p : 'a * ((unit * (Types.spaces * (int * 'd))) * 'b) val sub_declaration : Types.fromparser * string -> Types.fromparser list -> Types.fromparser -val anonymous_sub : Types.fromparser list -> Types.fromparser +val anonymous_sub : + Types.fromparser list * ('a * (int * int)) -> Types.fromparser val cook_call_op : string * Types.fromparser list * (int * int) -> Types.fromparser val call_op_ : -- cgit v1.2.1