logo       

Re: [GHC] #733: Problem compiling .lhs files with lines that begin with #: msg#00128

lang.haskell.glasgow.bugs

Subject: Re: [GHC] #733: Problem compiling .lhs files with lines that begin with #

#733: Problem compiling .lhs files with lines that begin with #
-----------------------+----------------------------------------------------
Reporter: guest | Owner:
Type: bug | Status: new
Priority: low | Milestone:
Component: Compiler | Version: 6.4.1
Severity: minor | Resolution:
Keywords: | Os: Unknown
Difficulty: Unknown | Architecture: Unknown
-----------------------+----------------------------------------------------
Changes (by simonmar):

* severity: normal => minor
* priority: normal => low

Comment:

This is true, the idea is to leave CPP directives intact. When not using
CPP it would make sense to ignore these '#' lines. Unfortunately, at the
time we are unlitting, we don't know whether we will be running CPP or not
(the -cpp flag might be in the OPTIONS_GHC pragma, which can't be parsed
until unlit is finished). Perhaps we could do a two-pass unlit or
something, but that sounds like too much effort.

I doubt we'll fix this, but thanks for the report anyway.

--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/733>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@xxxxxxxxxxx
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise