Просмотр исходного кода

only enable macro interp cache when using compilation server

Nicolas Cannasse 12 лет назад
Родитель
Сommit
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