[project @ 2002-01-22 13:09:36 by simonmar]
authorsimonmar <unknown>
Tue, 22 Jan 2002 13:09:37 +0000 (13:09 +0000)
committersimonmar <unknown>
Tue, 22 Jan 2002 13:09:37 +0000 (13:09 +0000)
commitc1980f1ddbe8b5a3ee5fb28dd0236bf4900881c5
tree57c5ed17d3b287cbc46c62edfaab2c10e6a96b59
parent0da140970c7e9af7cb71630548b1f9712e1f6b7e
[project @ 2002-01-22 13:09:36 by simonmar]
Fix for a change in CPP's behaviour in gcc 2.96 relative to 2.95.
Unlit used to inject '# <line> <file>' at the beginning of the output
file, but in gcc 2.96 this is ignored.  Instead we have to inject
'#line <line> <file>', which in turn means that GHC's lexer has to
understand this kind of pragma in addition to the plain '#' form, in
the case when we aren't running CPP after unlitting.
ghc/compiler/parser/Lex.lhs
ghc/utils/unlit/unlit.c