File tree Expand file tree Collapse file tree 3 files changed +1340
-1292
lines changed Expand file tree Collapse file tree 3 files changed +1340
-1292
lines changed Original file line number Diff line number Diff line change @@ -361,30 +361,29 @@ and output_one : 'a .
361
361
= fun cxt f pp_cond
362
362
({switch_case = e ; switch_body = (sl ,should_break )} : _ J. case_clause ) ->
363
363
let cxt =
364
- P. group f 1 @@ fun _ ->
365
- P. group f 1 @@ (fun _ ->
366
- P. string f L. case;
367
- P. space f ;
368
- pp_cond f e; (* could be integer or string*)
369
- P. space f ;
370
- P. string f L. colon );
371
-
372
- P. space f;
373
- P. group f 1 @@ fun _ ->
374
- let cxt =
375
- match sl with
376
- | [] -> cxt
377
- | _ ->
378
- P. newline f ;
379
- statement_list false cxt f sl
380
- in
381
- (if should_break then
382
- begin
383
- P. newline f ;
384
- P. string f L. break;
385
- semi f;
386
- end ) ;
387
- cxt
364
+ P. group f 1 (fun _ ->
365
+ P. group f 1 (fun _ ->
366
+ P. string f L. case;
367
+ P. space f ;
368
+ pp_cond f e; (* could be integer or string *)
369
+ P. space f ;
370
+ P. string f L. colon );
371
+ P. space f;
372
+ P. group f 1 (fun _ ->
373
+ let cxt =
374
+ match sl with
375
+ | [] -> cxt
376
+ | _ ->
377
+ P. newline f ;
378
+ statement_list false cxt f sl
379
+ in
380
+ (if should_break then
381
+ begin
382
+ P. newline f ;
383
+ P. string f L. break;
384
+ semi f;
385
+ end ) ;
386
+ cxt))
388
387
in
389
388
P. newline f;
390
389
cxt
You can’t perform that action at this time.
0 commit comments