Explorar o código

only enable macro interp cache when using compilation server

Nicolas Cannasse %!s(int64=12) %!d(string=hai) anos
pai
achega
2aa32c0b45
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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