mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-07-08 06:32:45 -06:00
judgements lindef are now respected by both the parser and the linearizer
This commit is contained in:
+2
-1
@@ -146,8 +146,9 @@ combinations t = case t of
|
||||
aa:uu -> [a:u | a <- aa, u <- combinations uu]
|
||||
|
||||
isLiteralCat :: CId -> Bool
|
||||
isLiteralCat = (`elem` [cidString, cidFloat, cidInt])
|
||||
isLiteralCat = (`elem` [cidString, cidFloat, cidInt, cidVar])
|
||||
|
||||
cidString = mkCId "String"
|
||||
cidInt = mkCId "Int"
|
||||
cidFloat = mkCId "Float"
|
||||
cidVar = mkCId "#Var"
|
||||
|
||||
Reference in New Issue
Block a user