Commit 33358113 authored by Andreas Klebinger's avatar Andreas Klebinger Committed by Ben Gamari
Browse files

cmm: Include braces on default branch as required by the parser

Test Plan: Looking at cmm-dump

Reviewers: bgamari, simonmar

Reviewed By: simonmar

Subscribers: rwbarton, thomie, carter

Differential Revision: https://phabricator.haskell.org/D4293
parent e1d4140b
......@@ -252,8 +252,8 @@ pprNode node = pp_node <+> pp_debug
, ppr l <> semi
]
def | Just l <- mbdef = hsep
[ text "default: goto"
, ppr l <> semi
[ text "default:"
, braces (text "goto" <+> ppr l <> semi)
]
| otherwise = empty
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment