|
@@ -676,8 +676,8 @@ module HighLevel = struct
|
|
in
|
|
in
|
|
let code = match ctx with
|
|
let code = match ctx with
|
|
| Some ctx ->
|
|
| Some ctx ->
|
|
- (* if not did_hxb && server_mode == SMNone && not !has_display && args = [] then
|
|
|
|
- Define.raw_define ctx.com.defines "hxb.roundtrip"; *)
|
|
|
|
|
|
+ if not did_hxb && server_mode == SMNone && not !has_display && args = [] then
|
|
|
|
+ Define.raw_define ctx.com.defines "hxb.roundtrip";
|
|
(* Need chdir here because --cwd is eagerly applied in process_params *)
|
|
(* Need chdir here because --cwd is eagerly applied in process_params *)
|
|
Unix.chdir curdir;
|
|
Unix.chdir curdir;
|
|
execute_ctx server_api ctx server_mode
|
|
execute_ctx server_api ctx server_mode
|
|
@@ -693,7 +693,7 @@ module HighLevel = struct
|
|
end else
|
|
end else
|
|
code
|
|
code
|
|
with ServerCompilationContext.HxbRoundtrip ->
|
|
with ServerCompilationContext.HxbRoundtrip ->
|
|
- (* print_endline "Caught HxbRoundtrip, recursing"; *)
|
|
|
|
|
|
+ print_endline "Caught HxbRoundtrip, recursing";
|
|
each_args := current_each;
|
|
each_args := current_each;
|
|
Unix.chdir curdir;
|
|
Unix.chdir curdir;
|
|
loop args0 true
|
|
loop args0 true
|