summaryrefslogtreecommitdiff
path: root/otherlibs
diff options
context:
space:
mode:
authorAlain Frisch <alain@frisch.fr>2011-12-28 13:27:07 +0000
committerAlain Frisch <alain@frisch.fr>2011-12-28 13:27:07 +0000
commit33eefe487458744155acff18292a3d24b4229282 (patch)
treeadd1508b74419b5d824eefa5a64a44e6c08f2022 /otherlibs
parent6e7e555206b6609ed290b4436432ab91c8bdcd13 (diff)
downloadocaml-33eefe487458744155acff18292a3d24b4229282.tar.gz
Remove unused constructors in the AST: Cf_let, Pcf_let.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11968 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'otherlibs')
-rw-r--r--otherlibs/labltk/browser/searchpos.ml7
1 files changed, 0 insertions, 7 deletions
diff --git a/otherlibs/labltk/browser/searchpos.ml b/otherlibs/labltk/browser/searchpos.ml
index f6fb50051b..78087c80d9 100644
--- a/otherlibs/labltk/browser/searchpos.ml
+++ b/otherlibs/labltk/browser/searchpos.ml
@@ -693,13 +693,6 @@ and search_pos_class_structure ~pos cls =
| Cf_val (_, _, Some exp, _) -> search_pos_expr exp ~pos
| Cf_val _ -> ()
| Cf_meth (_, exp) -> search_pos_expr exp ~pos
- | Cf_let (_, pel, iel) ->
- List.iter pel ~f:
- begin fun (pat, exp) ->
- search_pos_pat pat ~pos ~env:exp.exp_env;
- search_pos_expr exp ~pos
- end;
- List.iter iel ~f:(fun (_,exp) -> search_pos_expr exp ~pos)
| Cf_init exp -> search_pos_expr exp ~pos
end