Commits

camlspotter committed 18c5a28

ignore pathreparse error, and removed warning 31

  • Participants
  • Parent commits 201dfff
  • Branches ocamlspot

Comments (0)

Files changed (2)

File ocamlspot/Makefile

 # Various commands and dir
 ##########################
 CAMLRUN=../boot/ocamlrun
-OCAMLC   = ../ocamlcomp.sh -annot -w Ae -warn-error Ae-31
+OCAMLC   = ../ocamlcomp.sh -annot -w Ae -warn-error Ae
 OCAMLOPT = ../ocamlcompopt.sh
 OCAMLDEP = $(CAMLRUN) ../tools/ocamldep
 OCAMLLEX = $(CAMLRUN) ../boot/ocamllex

File ocamlspot/ocamlspot.ml

 	  match 
 	    (* only the first Use *)
 	    List.find_map_opt (function
-	      | Annot.Use ( Spotapi.Kind.Value, path) -> 
-                  (* Currently only work with Values *)
+	      | Annot.Use ( _, path) -> 
 		  (* Find subpath *)
 		  begin match Pathreparse.get file.File.path r pos path with    
 		  | None -> None