projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
36f7a29
)
Change pragma order to stop GHC 6.4 getting confused
author
Ian Lynagh
<igloo@earth.li>
Thu, 10 Jul 2008 19:06:14 +0000
(19:06 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Thu, 10 Jul 2008 19:06:14 +0000
(19:06 +0000)
compiler/parser/Parser.y.pp
patch
|
blob
|
history
diff --git
a/compiler/parser/Parser.y.pp
b/compiler/parser/Parser.y.pp
index
d7971b4
..
4552fe2
100644
(file)
--- a/
compiler/parser/Parser.y.pp
+++ b/
compiler/parser/Parser.y.pp
@@
-8,6
+8,13
@@
-- ---------------------------------------------------------------------------
{
-- ---------------------------------------------------------------------------
{
+{-# OPTIONS -w #-}
+-- The above warning supression flag is a temporary kludge.
+-- While working on this module you are encouraged to remove it and fix
+-- any warnings in the module. See
+-- http://hackage.haskell.org/trac/ghc/wiki/Commentary/CodingStyle#Warnings
+-- for details
+
{-# OPTIONS_GHC -O0 -fno-ignore-interface-pragmas #-}
{-
Careful optimisation of the parser: we don't want to throw everything
{-# OPTIONS_GHC -O0 -fno-ignore-interface-pragmas #-}
{-
Careful optimisation of the parser: we don't want to throw everything
@@
-16,13
+23,6
@@
to inline certain key external functions, so we instruct GHC not to
throw away inlinings as it would normally do in -O0 mode.
-}
throw away inlinings as it would normally do in -O0 mode.
-}
-{-# OPTIONS -w #-}
--- The above warning supression flag is a temporary kludge.
--- While working on this module you are encouraged to remove it and fix
--- any warnings in the module. See
--- http://hackage.haskell.org/trac/ghc/wiki/Commentary/CodingStyle#Warnings
--- for details
-
module Parser ( parseModule, parseStmt, parseIdentifier, parseType,
parseHeader ) where
module Parser ( parseModule, parseStmt, parseIdentifier, parseType,
parseHeader ) where