소스 검색

[hxb] write hxb before filters to keep extern fields

Rudy Ges 2 년 전
부모
커밋
b2f17e9ea3
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      src/compiler/compiler.ml

+ 2 - 1
src/compiler/compiler.ml

@@ -365,9 +365,10 @@ let compile ctx actx callbacks =
 		DisplayProcessing.handle_display_after_typing ctx tctx display_file_dot_path;
 		finalize_typing ctx tctx;
 		DisplayProcessing.handle_display_after_finalization ctx tctx display_file_dot_path;
+		Generate.check_auxiliary_output com actx;
 		filter ctx tctx;
 		if ctx.has_error then raise Abort;
-		Generate.check_auxiliary_output com actx;
+		(* Generate.check_auxiliary_output com actx; *)
 		com.stage <- CGenerationStart;
 		ServerMessage.compiler_stage com;
 		if not actx.no_output then Generate.generate ctx tctx ext actx;