mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-25 10:48:54 -06:00
fixed typo in GeneratePMCFG.hs. fidFloat -> fidVar
This commit is contained in:
@@ -497,7 +497,7 @@ emptyGrammarEnv gr (m,mo) =
|
|||||||
| cat == cString = (index,(fidString,fidString,CRec [(theLinLabel,Identity (CStr 0))]))
|
| cat == cString = (index,(fidString,fidString,CRec [(theLinLabel,Identity (CStr 0))]))
|
||||||
| cat == cInt = (index,(fidInt, fidInt, 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 == 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))
|
| otherwise = (index+size,(index,index+size-1,schema))
|
||||||
where
|
where
|
||||||
((_,size),schema) = compute (0,1) ctype
|
((_,size),schema) = compute (0,1) ctype
|
||||||
|
|||||||
Reference in New Issue
Block a user