Skip to content

Commit

Permalink
Fix Cilfacade.pretty_typsig_like_typ forgetting pointers from name on…
Browse files Browse the repository at this point in the history
… base type
  • Loading branch information
sim642 committed Sep 19, 2023
1 parent 8ec8c31 commit 0f59ac9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/cilfacade.ml
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ let rec pretty_typsig_like_typ (nameOpt: Pretty.doc option) () ts =
| _ -> pa
in
match ts with
| TSBase t -> dn_type () t
| TSBase t -> defaultCilPrinter#pType nameOpt () t
| TSComp (cstruct, cname, a) ->
let su = if cstruct then "struct" else "union" in
text (su ^ " " ^ cname ^ " ")
Expand Down

0 comments on commit 0f59ac9

Please sign in to comment.