diff options
author | Michael Schmidt <github@mschmidt.me> | 2015-10-14 15:07:48 +0200 |
---|---|---|
committer | Michael Schmidt <github@mschmidt.me> | 2015-10-14 15:07:48 +0200 |
commit | 60ab550a952c3d9719b2a91ec90c9b58769f6717 (patch) | |
tree | 523cf4eb5a35594b16a297b4bd7e29157f42b0fc /cparser/Cprint.ml | |
parent | a479c280441b91007c379b0b63b907926d54f930 (diff) | |
download | compcert-60ab550a952c3d9719b2a91ec90c9b58769f6717.tar.gz compcert-60ab550a952c3d9719b2a91ec90c9b58769f6717.zip |
bug 17392: remove trailing whitespace in source files
Diffstat (limited to 'cparser/Cprint.ml')
-rw-r--r-- | cparser/Cprint.ml | 8 |
1 files changed, 4 insertions, 4 deletions
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 "@[<hov 2>(" else fprintf pp "@[<hov 2>"; 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) -> |