Skip to content

Commit

Permalink
[fix] qmlPrint: printing more line breaks when printing long directives
Browse files Browse the repository at this point in the history
  • Loading branch information
Valentin Gatien-Baron committed Jul 7, 2011
1 parent 24f427d commit 8ba7656
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libqmlcompil/qmlPrint.ml
Original file line number Diff line number Diff line change
Expand Up @@ -481,9 +481,9 @@ object (self)
match exprs, tys with
| [], [] -> pp f "@[<2>%a@]" variant_aux variant
| _, [] ->
pp f "@[<2>%a(%a)@]" variant_aux variant (pp_list ",@ " self#reset#under_comma#expr) exprs
pp f "@[<2>%a(@,%a)@]" variant_aux variant (pp_list ",@ " self#reset#under_comma#expr) exprs
| _ ->
pp f "@[<2>%a(%a ; %a)@]" variant_aux variant
pp f "@[<2>%a(@,%a ;@ %a)@]" variant_aux variant
(pp_list ",@ " self#reset#under_comma#expr) exprs
(pp_list ",@ " self#reset#under_comma#ty) tys
method record f l =
Expand Down

0 comments on commit 8ba7656

Please sign in to comment.