From 63093c32f33ad1fcfef10d2ef6ef010c2b5471e9 Mon Sep 17 00:00:00 2001 From: hallgren Date: Thu, 8 Nov 2012 15:53:46 +0000 Subject: Eliminate warnings about deprecated use of catch and try This is also needed for compatibility with GHC 7.6. --- src/compiler/GF/Compile/GetGrammar.hs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/compiler/GF/Compile/GetGrammar.hs') 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 -- cgit v1.2.3