summaryrefslogtreecommitdiffstats
path: root/otherlibs/labltk/browser
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/labltk/browser')
-rw-r--r--otherlibs/labltk/browser/searchid.ml2
1 files changed, 2 insertions, 0 deletions
diff --git a/otherlibs/labltk/browser/searchid.ml b/otherlibs/labltk/browser/searchid.ml
index 0cad8ffc7..11f0fa5bc 100644
--- a/otherlibs/labltk/browser/searchid.ml
+++ b/otherlibs/labltk/browser/searchid.ml
@@ -428,6 +428,8 @@ let rec bound_variables pat =
bound_variables pat1 @ bound_variables pat2
| Ppat_constraint (pat,_) -> bound_variables pat
| Ppat_lazy pat -> bound_variables pat
+ | Ppat_attribute (pat, _) -> bound_variables pat
+ | Ppat_extension _ -> []
let search_structure str ~name ~kind ~prefix =
let loc = ref 0 in