Explorar o código

[hxb] write hxb before filters to keep extern fields

Rudy Ges %!s(int64=2) %!d(string=hai) anos
pai
achega
b2f17e9ea3
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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;