Skip to content

Commit 6f2a6b5

Browse files
allow arg on one line
1 parent 5151756 commit 6f2a6b5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/Params.ml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,8 @@ module Exp = struct
221221
kw_out_of_box
222222
$ box_decl
223223
( kw_in_box
224-
$ hvbox_if should_box_args 0 (args $ fmt_opt annot $ fmt_opt epi) )
224+
$ hvbox_if ~name:"should_box_args" should_box_args 0
225+
(hvbox_if (not (ocp c)) 0 args $ fmt_opt annot $ fmt_opt epi) )
225226

226227
let box_fun_expr (c : Conf.t) ~source ~ctx0 ~ctx =
227228
match ctx0 with

0 commit comments

Comments
 (0)