Skip to content

Commit

Permalink
fixed pretty-printing for identifiers that start with "@" by adding p…
Browse files Browse the repository at this point in the history
…arens when needed
  • Loading branch information
Eddy Westbrook committed Dec 7, 2020
1 parent 8314b93 commit 5aa04fb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Language/Coq/Pretty.hs
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ ppTerm p e =
Sort s ->
ppSort s
Var x ->
parensIf (p > PrecApp && head x == '@') $
ppIdent x
NatLit i ->
integer i
Expand Down

0 comments on commit 5aa04fb

Please sign in to comment.