[GHC] #8393: hsc2hs copies #define/#undef directives to generated .hs file when cross-compiling

GHC ghc-devs
Wed Oct 2 06:01:05 UTC 2013


#8393: hsc2hs copies #define/#undef directives to generated .hs file when cross-
compiling
-------------------------------------+------------------------------------
        Reporter:  rwbarton          |            Owner:  rwbarton
            Type:  bug               |           Status:  closed
        Priority:  normal            |        Milestone:
       Component:  hsc2hs            |          Version:  7.7
      Resolution:  fixed             |         Keywords:
Operating System:  Unknown/Multiple  |     Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown      |       Difficulty:  Unknown
       Test Case:                    |       Blocked By:
        Blocking:                    |  Related Tickets:
-------------------------------------+------------------------------------
Changes (by thoughtpolice):

 * status:  patch => closed
 * resolution:   => fixed


Comment:

 Merged, although I totally botched the commit references...

 {{{
 commit 4a0f67704d89712f8493a0c7eccffa9243d6ef09
 Author: Reid Barton <rwbarton at gmail.com>
 Date:   Tue Oct 1 13:02:26 2013 -0400

     Don't emit #define/#undef in generated .hs files

     ... just like they aren't emitted in the ordinary case; see outTokenHs
     in C.hs.

     Closes #8393.

     Signed-off-by: Austin Seipp <austin at well-typed.com>

 }}}

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8393#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler



More information about the ghc-tickets mailing list