Re: [GHC] #4931: hsc2hs emits invalid OPTIONS_GHC pragmas

#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 peddie): Thanks for the tip! I came across `toArgs` earlier and tried to use it at first, but on my example, `-optc-DFOO="bar baz" -optc-DQUUX="qq rr"` in the `OPTIONS_GHC` pragma yields `Right ["-optc-DFOO=\"bar","baz\"","-optc-DQUUX=\"qq","rr\""]` when I run it through `toArgs`. So it seems it's the same as `words` for this purpose. Have I misunderstood something? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/4931#comment:10 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC