mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-19 16:12:52 -06:00
resource.txt updates ; lock field and lookup book fixes
This commit is contained in:
@@ -204,7 +204,9 @@ renameTerm env vars = ren vars where
|
||||
| elem r vs -> return trm -- var proj first
|
||||
| otherwise -> case renid (Q r (label2ident l)) of -- qualif second
|
||||
Ok t -> return t
|
||||
_ -> liftM (flip P l) $ renid t -- const proj last
|
||||
_ -> case liftM (flip P l) $ renid t of
|
||||
Ok t -> return t -- const proj last
|
||||
_ -> prtBad "unknown qualified constant" trm
|
||||
|
||||
_ -> composOp (ren vs) trm
|
||||
|
||||
|
||||
Reference in New Issue
Block a user