summaryrefslogtreecommitdiff
path: root/src/compiler/GF/Compile
diff options
context:
space:
mode:
authorkrasimir <krasimir@chalmers.se>2010-10-25 11:48:17 +0000
committerkrasimir <krasimir@chalmers.se>2010-10-25 11:48:17 +0000
commit84736e5712490f0092d1b79c89568753189163b8 (patch)
tree1a1d5a9124cfba92a64cab1eee3f8f4d655d9e7d /src/compiler/GF/Compile
parent2d3340b48a18a633b5a4eea8a9465fc3c954687b (diff)
fixed typo in GeneratePMCFG.hs. fidFloat -> fidVar
Diffstat (limited to 'src/compiler/GF/Compile')
-rw-r--r--src/compiler/GF/Compile/GeneratePMCFG.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/GF/Compile/GeneratePMCFG.hs b/src/compiler/GF/Compile/GeneratePMCFG.hs
index 6037208e8..afc409654 100644
--- a/src/compiler/GF/Compile/GeneratePMCFG.hs
+++ b/src/compiler/GF/Compile/GeneratePMCFG.hs
@@ -497,7 +497,7 @@ emptyGrammarEnv gr (m,mo) =
| cat == cString = (index,(fidString,fidString,CRec [(theLinLabel,Identity (CStr 0))]))
| cat == cInt = (index,(fidInt, fidInt, CRec [(theLinLabel,Identity (CStr 0))]))
| cat == cFloat = (index,(fidFloat, fidFloat, CRec [(theLinLabel,Identity (CStr 0))]))
- | cat == cVar = (index,(fidFloat, fidFloat, CStr 0))
+ | cat == cVar = (index,(fidVar, fidVar, CStr 0))
| otherwise = (index+size,(index,index+size-1,schema))
where
((_,size),schema) = compute (0,1) ctype