2
0
Эх сурвалжийг харах

only enable macro interp cache when using compilation server

Nicolas Cannasse 12 жил өмнө
parent
commit
2aa32c0b45
1 өөрчлөгдсөн 1 нэмэгдсэн , 0 устгасан
  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