Skip to content
Snippets Groups Projects
Commit 219fbecc authored by Simon Marlow's avatar Simon Marlow
Browse files

[project @ 2000-07-07 10:35:32 by simonmar]

Remove the cast from CMacroExprs - it doesn't appear to be needed.
This fixes the recently introduced bug when compiling CCS_HDR macros
in profiling code.
parent c01c4779
No related merge requests found
......@@ -1148,8 +1148,7 @@ ppr_amode (CJoinPoint _)
= panic "ppr_amode: CJoinPoint"
ppr_amode (CMacroExpr pk macro as)
= parens (pprPrimKind pk) <>
parens (ptext (cExprMacroText macro) <>
= parens (ptext (cExprMacroText macro) <>
parens (hcat (punctuate comma (map pprAmode as))))
\end{code}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment