From 0a59f95d92223bae842323d582ec5d2eb3156a8d Mon Sep 17 00:00:00 2001 From: hallgren Date: Fri, 29 Nov 2013 14:43:01 +0000 Subject: Move checkPredefError from GF.Compile.Compute.ConcreteLazy to GF.Grammar.Macros Also simplified its type. --- src/compiler/GFI.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/compiler/GFI.hs') diff --git a/src/compiler/GFI.hs b/src/compiler/GFI.hs index 8fdc97ecc..070a95384 100644 --- a/src/compiler/GFI.hs +++ b/src/compiler/GFI.hs @@ -332,7 +332,7 @@ checkComputeTerm' new sgr t = do t1 <- if new then return (CN.normalForm (CN.resourceValues sgr) (L NoLoc identW) t) else computeConcrete sgr t - checkPredefError sgr t1 + checkPredefError t1 fetchCommand :: GFEnv -> IO String fetchCommand gfenv = do -- cgit v1.2.3