Skip to content

Commit cb19dc2

Browse files
committed
Remove bad handling of expr bodies
1 parent f5306dd commit cb19dc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Language/C/Pretty.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ instance Pretty CStat where
143143
$$ maybeP prettyElse estat
144144
where
145145
prettyBody c@(CCompound _ _ _) = prettyPrec (-1) c
146-
prettyBody nonCompound = prettyPrec (-1) (CCompound [] [CBlockStmt nonCompound] undefined)
146+
-- prettyBody nonCompound = prettyPrec (-1) (CCompound [] [CBlockStmt nonCompound] undefined)
147147
prettyElse (CIf else_if_expr else_if_stat else_stat _) =
148148
text "else if"
149149
<+> parens (pretty else_if_expr)

0 commit comments

Comments
 (0)