mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-10-27 17:03:18 -06:00
variables in rules are finally renamed
This commit is contained in:
1 parent
a99cfb53f5
commit
ce63d4627b
18 files changed
+184
-281
No files matched your search
@@ -171,7 +171,7 @@ ppPmcfgCat :: Ident -> LParam -> Doc
|
||||
ppPmcfgCat cat p = pp cat <> parens (ppLParam p)
|
||||
|
||||
ppPmcfgRule id arg_cats res_cat (Rule quantifiers res args lin_idx seq) =
|
||||
ppQuantifiers quantifiers <+>
|
||||
ppQuantifiers (zip [0..] quantifiers) <+>
|
||||
ppCat res_cat res <+> "->" <+> pp id <> brackets (hcat (punctuate ',' (zipWith ppCat arg_cats args))) <> ';' <+> ppLParam lin_idx <+> ':' <+> hsep (map ppSymbol seq)
|
||||
where
|
||||
ppCat id value = pp id <> parens (ppLParam value)
|
||||
|
||||
Reference in new issue
Block a user