Follow-up on PR#5553

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12258 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
master
Jacques Garrigue 2012-03-23 02:35:00 +00:00
parent b3e0f2e72a
commit 57c5658f54
2 changed files with 2 additions and 0 deletions

View File

@ -397,6 +397,7 @@ let rec view_signature ?title ?path ?(env = !start_env) ?(detach=false) sign =
match e with
Syntaxerr.Unclosed(l,_,_,_) -> l
| Syntaxerr.Applicative_path l -> l
| Syntaxerr.Variable_in_scope(l,_) -> l
| Syntaxerr.Other l -> l
in
Jg_text.tag_and_see tw ~start:(tpos l.loc_start.Lexing.pos_cnum)

View File

@ -139,6 +139,7 @@ let f txt =
begin match err with
Syntaxerr.Unclosed(l,_,_,_) -> l
| Syntaxerr.Applicative_path l -> l
| Syntaxerr.Variable_in_scope(l,_) -> l
| Syntaxerr.Other l -> l
end
| Typecore.Error (l,err) ->