diff options
| author | hallgren <hallgren@chalmers.se> | 2012-11-08 15:53:46 +0000 |
|---|---|---|
| committer | hallgren <hallgren@chalmers.se> | 2012-11-08 15:53:46 +0000 |
| commit | 63093c32f33ad1fcfef10d2ef6ef010c2b5471e9 (patch) | |
| tree | d41a1ea8c6c5e58353f3a81440291be6d57d6e3b /src/compiler/GF/Compile | |
| parent | 1c0429c322d71c5488604785cf7278fe4ac67bf7 (diff) | |
Eliminate warnings about deprecated use of catch and try
This is also needed for compatibility with GHC 7.6.
Diffstat (limited to 'src/compiler/GF/Compile')
| -rw-r--r-- | src/compiler/GF/Compile/GetGrammar.hs | 3 | ||||
| -rw-r--r-- | src/compiler/GF/Compile/ReadFiles.hs | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/src/compiler/GF/Compile/GetGrammar.hs b/src/compiler/GF/Compile/GetGrammar.hs index cc4ca841c..b8832ba64 100644 --- a/src/compiler/GF/Compile/GetGrammar.hs +++ b/src/compiler/GF/Compile/GetGrammar.hs @@ -14,8 +14,11 @@ module GF.Compile.GetGrammar (getSourceModule) where +import Prelude hiding (catch) + import GF.Data.Operations +import GF.System.Catch import GF.Infra.UseIO import GF.Infra.Option(Options,optPreprocessors,addOptions,flag) import GF.Grammar.Lexer diff --git a/src/compiler/GF/Compile/ReadFiles.hs b/src/compiler/GF/Compile/ReadFiles.hs index 276aa2975..9b23f67dc 100644 --- a/src/compiler/GF/Compile/ReadFiles.hs +++ b/src/compiler/GF/Compile/ReadFiles.hs @@ -23,6 +23,8 @@ module GF.Compile.ReadFiles gfoFile,gfFile,isGFO,gf2gfo, getOptionsFromFile) where +import Prelude hiding (catch) +import GF.System.Catch import GF.Infra.UseIO import GF.Infra.Option import GF.Infra.Ident |
