|
@@ -209,7 +209,7 @@ let lookup_classes com fpath =
|
|
|
| [] -> []
|
|
|
| cp :: l ->
|
|
|
let cp = (if cp = "" then "./" else cp) in
|
|
|
- let c = normalize_path (try Common.get_full_path cp with _ -> cp) in
|
|
|
+ let c = normalize_path (Common.get_full_path cp) in
|
|
|
let clen = String.length c in
|
|
|
if clen < String.length fpath && String.sub spath 0 clen = String.lowercase c then begin
|
|
|
let path = String.sub fpath clen (String.length fpath - clen) in
|
|
@@ -474,7 +474,7 @@ try
|
|
|
Common.display_default := true;
|
|
|
Common.define com "display";
|
|
|
Parser.resume_display := {
|
|
|
- Ast.pfile = (try Common.get_full_path file with _ -> file);
|
|
|
+ Ast.pfile = Common.get_full_path file;
|
|
|
Ast.pmin = pos;
|
|
|
Ast.pmax = pos;
|
|
|
};
|