diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-10-13 07:38:03 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-10-13 07:38:03 +0000 |
commit | ddab763b2fbca2f1c2104dd33577ea694b6daedb (patch) | |
tree | 71d2f04ba6cc03df402129595989cabc8fdac9c7 /perl_checker.src | |
parent | 5c78d720a642ca89af3b201897158c9fe694c0ba (diff) | |
download | perl-MDK-Common-ddab763b2fbca2f1c2104dd33577ea694b6daedb.tar perl-MDK-Common-ddab763b2fbca2f1c2104dd33577ea694b6daedb.tar.gz perl-MDK-Common-ddab763b2fbca2f1c2104dd33577ea694b6daedb.tar.bz2 perl-MDK-Common-ddab763b2fbca2f1c2104dd33577ea694b6daedb.tar.xz perl-MDK-Common-ddab763b2fbca2f1c2104dd33577ea694b6daedb.zip |
allow join(N("xxx"), ...)
Diffstat (limited to 'perl_checker.src')
-rw-r--r-- | perl_checker.src/parser_helper.ml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perl_checker.src/parser_helper.ml b/perl_checker.src/parser_helper.ml index 40120ee..67b454f 100644 --- a/perl_checker.src/parser_helper.ml +++ b/perl_checker.src/parser_helper.ml @@ -55,7 +55,8 @@ let is_a_scalar = function | Ref _ | Num _ | Raw_string _ - | String _ -> true + | String _ + | Call(Deref(I_func, Ident(None, "N", _)), _) -> true | My_our(_, [ context, _ ], _) | Deref_with(_, context, _, _) | Deref(context, _) -> is_scalar_context context |