mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-06 01:32:50 -06:00
Eliminate warnings about deprecated use of catch and try
This is also needed for compatibility with GHC 7.6.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user