summaryrefslogtreecommitdiffstats
path: root/perl_checker.src/parser_helper.ml
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-12-16 21:01:24 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-12-16 21:01:24 +0000
commit1d6df1fbb9a571f020c10d071ff4dba4f65a97f1 (patch)
tree8e96151d7e9b900659d9ce0faff77ad7fa2a3942 /perl_checker.src/parser_helper.ml
parenteeae1777de99aab24481fa9bfcbae242f6da3595 (diff)
downloadperl_checker-1d6df1fbb9a571f020c10d071ff4dba4f65a97f1.tar
perl_checker-1d6df1fbb9a571f020c10d071ff4dba4f65a97f1.tar.gz
perl_checker-1d6df1fbb9a571f020c10d071ff4dba4f65a97f1.tar.bz2
perl_checker-1d6df1fbb9a571f020c10d071ff4dba4f65a97f1.tar.xz
perl_checker-1d6df1fbb9a571f020c10d071ff4dba4f65a97f1.zip
fix checking value is dropped in tuple
Diffstat (limited to 'perl_checker.src/parser_helper.ml')
-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 a1af279..ffe4abf 100644
--- a/perl_checker.src/parser_helper.ml
+++ b/perl_checker.src/parser_helper.ml
@@ -1102,7 +1102,8 @@ let mcontext_check_none msg expr esp =
| [List l_expr] ->
let rec iter = function
| e::l_expr, mcontext::l ->
- mcontext_check_none_rec (if l = [] then msg else "value is dropped") [e] mcontext
+ mcontext_check_none_rec (if l = [] then msg else "value is dropped") [e] mcontext ;
+ iter (l_expr, l)
| [], [] -> ()
| _ -> internal_error "mcontext_check_none"
in iter (l_expr, l)