Browse Source

only enable macro interp cache when using compilation server

Nicolas Cannasse 12 năm trước cách đây
mục cha
commit
2aa32c0b45
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      main.ml

+ 1 - 0
main.ml

@@ -455,6 +455,7 @@ and wait_loop boot_com host port =
 		c_modules = Hashtbl.create 0;
 	} in
 	global_cache := Some cache;
+	Typer.macro_enable_cache := true;
 	Typeload.parse_hook := (fun com2 file p ->
 		let sign = get_signature com2 in
 		let ffile = Common.unique_full_path file in