summaryrefslogtreecommitdiff
path: root/src/compiler/GFI.hs
diff options
context:
space:
mode:
authorhallgren <hallgren@chalmers.se>2013-11-29 14:43:01 +0000
committerhallgren <hallgren@chalmers.se>2013-11-29 14:43:01 +0000
commit0a59f95d92223bae842323d582ec5d2eb3156a8d (patch)
tree9cb305da42da037dbbdbd467a2e39cbb790e63cc /src/compiler/GFI.hs
parent1067d5960964995e92209354aecb4c4ed82e9b86 (diff)
Move checkPredefError from GF.Compile.Compute.ConcreteLazy to GF.Grammar.Macros
Also simplified its type.
Diffstat (limited to 'src/compiler/GFI.hs')
-rw-r--r--src/compiler/GFI.hs2
1 files changed, 1 insertions, 1 deletions
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