Skip to content

Can't handle CPP pragmas with spaces #650

@toku-sa-n

Description

@toku-sa-n

Problem

Description of problem here.

  • I checked the issue tracker for existing issues about this problem.
  • 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions