mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-01 23:32:51 -06:00
redesign the open-literals API
This commit is contained in:
@@ -87,8 +87,8 @@ renameIdentTerm env@(act,imps) t =
|
||||
|
||||
-- this facility is mainly for BWC with GF1: you need not import PredefAbs
|
||||
predefAbs c s
|
||||
| isLiteralCat c = return $ Q (cPredefAbs,c)
|
||||
| otherwise = checkError s
|
||||
| isPredefCat c = return $ Q (cPredefAbs,c)
|
||||
| otherwise = checkError s
|
||||
|
||||
ident alt c = case lookupTree showIdent c act of
|
||||
Ok f -> return $ f c
|
||||
|
||||
Reference in New Issue
Block a user