Browse Source

fixed issue #348

Nicolas Cannasse 14 years ago
parent
commit
162daa6013
1 changed files with 1 additions and 1 deletions
  1. 1 1
      main.ml

+ 1 - 1
main.ml

@@ -428,7 +428,7 @@ try
 				Common.display_default := true;
 				Common.define com "display";
 				Parser.resume_display := {
-					Ast.pfile = Common.get_full_path file;
+					Ast.pfile = (try Common.get_full_path file with _ -> file);
 					Ast.pmin = pos;
 					Ast.pmax = pos;
 				};