Commits

camlspotter  committed d02c9bc

minor update of documents and pathreparse

  • Participants
  • Parent commits 0363d29
  • Branches ocamlspot

Comments (0)

Files changed (2)

File INSTALL-ocamlspot.txt

 2. Relax
 
 3. For non Unix users: this instruction is for Unix users. For non unices,
-   the build is in the same way but may require some additional preparations.
+   the build should be in the same way but may require some additional preparations.
    First of all, learn how to build the vanilla OCaml in your environment.
    Read INSTALL and README.win32
 
 
 10. How to use
 
-  Compile your ML project by this patched compiler with -annot option to create .spot files. Open one of the source files in Emacs and place the cursor at the name whose definition is in question. Type C-c; will show you the defintion.
+  Compile your ML project by this patched compiler with -annot option to create .spot files. 
+  Open one of the source files in Emacs and place the cursor at the name whose definition 
+  is in question. Type C-c; will show you the defintion.
 
-11. bug report
+11. Bug report
 
   Please report bugs to jun.furuse at gmail.

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