diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-11-28 01:00:24 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-11-28 01:00:24 +0000 |
commit | 1d20adfc99c81fd83bf3023c412976a4f389b630 (patch) | |
tree | e0778b05fe69ef6f6cea278c11de39a1c549f76f /perl_checker.src/parser_helper.ml | |
parent | 88100399efa487df4145f0ed53cc7ee8305e0b3d (diff) | |
download | perl-MDK-Common-1d20adfc99c81fd83bf3023c412976a4f389b630.tar perl-MDK-Common-1d20adfc99c81fd83bf3023c412976a4f389b630.tar.gz perl-MDK-Common-1d20adfc99c81fd83bf3023c412976a4f389b630.tar.bz2 perl-MDK-Common-1d20adfc99c81fd83bf3023c412976a4f389b630.tar.xz perl-MDK-Common-1d20adfc99c81fd83bf3023c412976a4f389b630.zip |
*** empty log message ***
Diffstat (limited to 'perl_checker.src/parser_helper.ml')
-rw-r--r-- | perl_checker.src/parser_helper.ml | 5 |
1 files changed, 5 insertions, 0 deletions
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 <para>\"") + | "undef" -> + (match para with + | [ Deref(I_star, ident) ] -> Some [ Deref(I_func, ident) ] + | _ -> None) + | "N" | "N_" -> (match para with | [ List(String([ _s, List [] ], _) :: _) ] -> None |