Fix printing of splices; part of #4124
authorIan Lynagh <igloo@earth.li>
Sun, 13 Jun 2010 15:48:38 +0000 (15:48 +0000)
committerIan Lynagh <igloo@earth.li>
Sun, 13 Jun 2010 15:48:38 +0000 (15:48 +0000)
commit127d259f77deda6f03c2213c3dacba0354b37322
tree2adc28061eedd8c8b24c37c0df8c432f20dd0b04
parent8c33abc68ed4d386b7e986bdba08d055abf9ccc5
Fix printing of splices; part of #4124
Just putting parens around non-atomic expressions isn't sufficient
for splices, as only the $x and $(e) forms are valid input.
compiler/hsSyn/HsExpr.lhs