From 4d542bc7eafadb16b845cf05d1eb4988eb55ed0f Mon Sep 17 00:00:00 2001 From: Bernhard Schommer Date: Tue, 20 Oct 2015 13:32:18 +0200 Subject: Updated PR by removing whitespaces. Bug 17450. --- cparser/Cprint.ml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'cparser/Cprint.ml') diff --git a/cparser/Cprint.ml b/cparser/Cprint.ml index 1af5af1e..e80a4c8e 100644 --- a/cparser/Cprint.ml +++ b/cparser/Cprint.ml @@ -81,7 +81,7 @@ let const pp = function if c >= 32L && c <= 126L && c <> 34L && c <>92L then fprintf pp "%c" (Char.chr (Int64.to_int c)) else fprintf pp "\" \"\\x%02Lx\" \"" c) - l; + l; fprintf pp "\"" | CEnum(id, v) -> ident pp id @@ -216,7 +216,7 @@ let rec exp pp (prec, a) = if assoc = LtoR then (prec', prec' + 1) else (prec' + 1, prec') in - if prec' < prec + if prec' < prec then fprintf pp "@[(" else fprintf pp "@["; begin match a.edesc with @@ -329,7 +329,7 @@ let rec exp pp (prec, a) = begin match al with | [] -> () | a1 :: al -> - fprintf pp "%a" exp (2, a1); + fprintf pp "%a" exp (2, a1); List.iter (fun a -> fprintf pp ",@ %a" exp (2, a)) al end; fprintf pp ")@]" @@ -394,7 +394,7 @@ exception Not_expr let rec exp_of_stmt s = match s.sdesc with | Sdo e -> e - | Sseq(s1, s2) -> + | Sseq(s1, s2) -> {edesc = EBinop(Ocomma, exp_of_stmt s1, exp_of_stmt s2, TVoid []); etyp = TVoid []} | Sif(e, s1, s2) -> -- cgit