From 8ae8834a1c162de398cd7bd5b0628d77e1fcf973 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 28 Nov 2002 01:00:24 +0000 Subject: *** empty log message *** --- perl_checker.src/parser_helper.ml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/perl_checker.src/parser_helper.ml b/perl_checker.src/parser_helper.ml index 62a85f0..d377109 100644 --- a/perl_checker.src/parser_helper.ml +++ b/perl_checker.src/parser_helper.ml @@ -437,6 +437,11 @@ let call_func is_a_func (e, para) = | [ Ident(_, _, pos) as s ] -> Some [ Raw_string(string_of_Ident s, pos) ] | [ Call(Deref(I_func, (Ident(_, _, pos) as s)), l) ] -> Some(Raw_string(string_of_Ident s, pos) :: l) | _ -> die_rule "use \"no PACKAGE \"") + | "undef" -> + (match para with + | [ Deref(I_star, ident) ] -> Some [ Deref(I_func, ident) ] + | _ -> None) + | "N" | "N_" -> (match para with | [ List(String([ _s, List [] ], _) :: _) ] -> None -- cgit v1.2.1