Dan Korostelev 8 năm trước cách đây
mục cha
commit
b0ed2d9da1
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/compiler/main.ml

+ 1 - 1
src/compiler/main.ml

@@ -739,7 +739,7 @@ try
 		com.error <- error ctx;
 	end;
 	Lexer.old_format := Common.defined com Define.OldErrorFormat;
-	if !Lexer.old_format && !Parser.resume_display <> null_pos then begin
+	if !Lexer.old_format && Parser.do_resume () then begin
 		let p = !Parser.resume_display in
 		(* convert byte position to utf8 position *)
 		try