diff options
author | Ian Lynagh <igloo@earth.li> | 2007-09-03 23:39:03 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2007-09-03 23:39:03 +0000 |
commit | ad94d40948668032189ad22a0ad741ac1f645f50 (patch) | |
tree | 34212fac32f276c0095f35b39019602c964cbdcf /compiler/javaGen | |
parent | 45202530612593a0ba7a6c559a38dc1ff26670a4 (diff) | |
download | haskell-ad94d40948668032189ad22a0ad741ac1f645f50.tar.gz |
Use OPTIONS rather than OPTIONS_GHC for pragmas
Older GHCs can't parse OPTIONS_GHC.
This also changes the URL referenced for the -w options from
WorkingConventions#Warnings to CodingStyle#Warnings for the compiler
modules.
Diffstat (limited to 'compiler/javaGen')
-rw-r--r-- | compiler/javaGen/Java.lhs | 4 | ||||
-rw-r--r-- | compiler/javaGen/JavaGen.lhs | 4 | ||||
-rw-r--r-- | compiler/javaGen/PrintJava.lhs | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/compiler/javaGen/Java.lhs b/compiler/javaGen/Java.lhs index 9fdbe1afcd..9dcf4ee279 100644 --- a/compiler/javaGen/Java.lhs +++ b/compiler/javaGen/Java.lhs @@ -10,11 +10,11 @@ for the backend of GHC and to target languauges like Java sucessfully. -- Andy Gill \begin{code} -{-# OPTIONS_GHC -w #-} +{-# 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/WorkingConventions#Warnings +-- http://hackage.haskell.org/trac/ghc/wiki/CodingStyle#Warnings -- for details module Java where diff --git a/compiler/javaGen/JavaGen.lhs b/compiler/javaGen/JavaGen.lhs index 285150a121..2c8ec44d67 100644 --- a/compiler/javaGen/JavaGen.lhs +++ b/compiler/javaGen/JavaGen.lhs @@ -42,11 +42,11 @@ $i for instances. $k for keyword nameclash avoidance. \begin{code} -{-# OPTIONS_GHC -w #-} +{-# 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/WorkingConventions#Warnings +-- http://hackage.haskell.org/trac/ghc/wiki/CodingStyle#Warnings -- for details module JavaGen( javaGen ) where diff --git a/compiler/javaGen/PrintJava.lhs b/compiler/javaGen/PrintJava.lhs index 4107e9c9b9..967e73d701 100644 --- a/compiler/javaGen/PrintJava.lhs +++ b/compiler/javaGen/PrintJava.lhs @@ -4,11 +4,11 @@ \section{Generate Java} \begin{code} -{-# OPTIONS_GHC -w #-} +{-# 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/WorkingConventions#Warnings +-- http://hackage.haskell.org/trac/ghc/wiki/CodingStyle#Warnings -- for details module PrintJava( compilationUnit ) where |