1
0
forked from GitHub/gf-core

fixed typo in GeneratePMCFG.hs. fidFloat -> fidVar

This commit is contained in:
krasimir
2010-10-25 11:48:17 +00:00
parent 2d3340b48a
commit 84736e5712

View File

@@ -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