summaryrefslogtreecommitdiffstats
path: root/perl_checker.src
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-10-13 07:38:03 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-10-13 07:38:03 +0000
commitddab763b2fbca2f1c2104dd33577ea694b6daedb (patch)
tree71d2f04ba6cc03df402129595989cabc8fdac9c7 /perl_checker.src
parent5c78d720a642ca89af3b201897158c9fe694c0ba (diff)
downloadperl-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.ml3
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