Handling of non-layout sections in HsParser
HsParser fails on any of these 6 examples: data Data = A { x :: Int } f1 x = let { s = x } in s f2 x = do { x } f3 x = case x of { _ - 12 } f4 x = s where { s = 12 } f5 y = A { x = 45 } The problem seems to be the
RE: Handling of non-layout sections in HsParser
HsParser fails on any of these 6 examples: [...] The problem seems to be the production (copied from HsParser.ly) layout_off :: { () }: {% pushContext NoLayout } This production is supposed to make the parser enter a NoLayout context every time the lexer reaches an