From 53306414b62215d0aa79634886e96e0909dd7264 Mon Sep 17 00:00:00 2001 From: krasimir Date: Mon, 25 Oct 2010 11:48:17 +0000 Subject: [PATCH] fixed typo in GeneratePMCFG.hs. fidFloat -> fidVar --- src/compiler/GF/Compile/GeneratePMCFG.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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