浏览代码

[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;