浏览代码

[hxb] generate for MFake modules too

Rudy Ges 2 年之前
父节点
当前提交
84eef92b12
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/compiler/generate.ml

+ 1 - 1
src/compiler/generate.ml

@@ -23,7 +23,7 @@ let check_auxiliary_output com actx =
 
 let export_hxb root m =
 	match m.m_extra.m_kind with
-		| MCode | MMacro -> begin
+		| MCode | MMacro | MFake -> begin
 			let anon_identification = new tanon_identification ([],"") in
 			let writer = new HxbWriter.hxb_writer anon_identification in
 			writer#write_module m;