hindent icon indicating copy to clipboard operation
hindent copied to clipboard

Can't handle CPP pragmas with spaces

Open toku-sa-n opened this issue 2 years ago • 0 comments

Problem

Description of problem here.

  • [x] I checked the issue tracker for existing issues about this problem.
  • [x] I'm using the latest version of hindent.

Input haskell

{-# LANGUAGE CPP #-}

#      if          0
#   endif

Expected output haskell

{-# LANGUAGE CPP #-}

#if 0
#endif

Actual: parse error

toku-sa-n avatar Dec 29 '22 00:12 toku-sa-n