mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 04:59:31 -06:00
if there is oper patt = #(...) then it also should be decoded to Unicode
This commit is contained in:
@@ -29,6 +29,7 @@ codeTerm :: (String -> String) -> Term -> Term
|
||||
codeTerm co t = case t of
|
||||
K s -> K (co s)
|
||||
T ty cs -> T ty [(codp p,codeTerm co v) | (p,v) <- cs]
|
||||
EPatt p -> EPatt (codp p)
|
||||
_ -> composSafeOp (codeTerm co) t
|
||||
where
|
||||
codp p = case p of --- really: composOpPatt
|
||||
|
||||
Reference in New Issue
Block a user