[GHC] #4931: hsc2hs emits invalid OPTIONS_GHC pragmas
GHC
ghc-devs at haskell.org
Thu Apr 2 08:00:56 UTC 2015
#4931: hsc2hs emits invalid OPTIONS_GHC pragmas
-------------------------------------+-------------------------------------
Reporter: awson | Owner:
Type: bug | Status: new
Priority: low | Milestone: 7.12.1
Component: hsc2hs | Version: 7.0.1
Resolution: | Keywords: newcomer
Operating System: Unknown/Multiple | Architecture:
Type of failure: None/Unknown | Unknown/Multiple
Blocked By: | Test Case:
Related Tickets: | Blocking:
| Differential Revisions:
-------------------------------------+-------------------------------------
Comment (by thomie):
Thanks for working on this.
Check out `compiler/utils/Util.hs`, it has a function `toArgs` which seems
to do what you need.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/4931#comment:9>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list