summaryrefslogtreecommitdiff
path: root/src/compiler/GF/Compile/Compute
diff options
context:
space:
mode:
authorhallgren <hallgren@chalmers.se>2012-12-19 23:08:56 +0000
committerhallgren <hallgren@chalmers.se>2012-12-19 23:08:56 +0000
commitb4207d1b00853cc5eb73e52d1c831b764f5ebe75 (patch)
treed3a8121e15281839d74a61ea62a8f42391473ed2 /src/compiler/GF/Compile/Compute
parent75696808a7b1da6161b674e910d37e536c723e8c (diff)
GF.Grammar.Lookup: new function lookupResDefLoc
It's like lookupResDef but it includes a source location in the output.
Diffstat (limited to 'src/compiler/GF/Compile/Compute')
-rw-r--r--src/compiler/GF/Compile/Compute/AppPredefined.hs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/compiler/GF/Compile/Compute/AppPredefined.hs b/src/compiler/GF/Compile/Compute/AppPredefined.hs
index fcd262a19..375564b32 100644
--- a/src/compiler/GF/Compile/Compute/AppPredefined.hs
+++ b/src/compiler/GF/Compile/Compute/AppPredefined.hs
@@ -88,8 +88,6 @@ primitives = Map.fromList
fun from to = oper (mkFunType from to)
oper ty = ResOper (Just (noLoc ty)) Nothing
- noLoc = L NoLoc
-
varL :: Ident
varL = identC (BS.pack "L")