We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5306dd commit cca7c0bCopy full SHA for cca7c0b
src/Language/C/Pretty.hs
@@ -142,8 +142,8 @@ instance Pretty CStat where
142
$+$ prettyBody stat
143
$$ maybeP prettyElse estat
144
where
145
- prettyBody c@(CCompound _ _ _) = prettyPrec (-1) c
146
- prettyBody nonCompound = prettyPrec (-1) (CCompound [] [CBlockStmt nonCompound] undefined)
+ prettyBody c = prettyPrec (-1) c
+ -- prettyBody nonCompound = prettyPrec (-1) (CCompound [] [CBlockStmt nonCompound] undefined)
147
prettyElse (CIf else_if_expr else_if_stat else_stat _) =
148
text "else if"
149
<+> parens (pretty else_if_expr)
0 commit comments