[GHC] #4931: hsc2hs emits invalid OPTIONS_GHC pragmas
GHC
ghc-devs at haskell.org
Mon Nov 9 14:09:43 UTC 2015
#4931: hsc2hs emits invalid OPTIONS_GHC pragmas
-------------------------------------+-------------------------------------
Reporter: awson | Owner: thomie
Type: bug | Status: patch
Priority: low | Milestone: 8.0.1
Component: hsc2hs | Version: 7.0.1
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case: driver/T4931
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s): Phab:D1452
Wiki Page: |
-------------------------------------+-------------------------------------
Changes (by thomie):
* status: new => patch
Comment:
The patch in Phab:D1452 doesn't handle `#define FOO "bar \"baz\""`
(comment:8), but it does handle the example from the description: `#define
FOO "bar baz"`.
I still don't know if emitting `{-# OPTIONS_GHC -optc-DFOO=... #-}` makes
sense at all, but oh well.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/4931#comment:18>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list