Browse Source

fixed issue #348

Nicolas Cannasse 14 năm trước cách đây
mục cha
commit
162daa6013
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;
 				};