mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-11-05 03:35:27 -07:00
show field names in double quotes
This commit is contained in:
1 parent
09731b985c
commit
7ff38bfcbe
1 file changed
+1
-1
@@ -246,7 +246,7 @@ showPGF p =
|
||||
forM (init [0..n_fields]) $ \i -> do
|
||||
pgf_get_lincat_field_internal val i >>= peekText
|
||||
let def = text "lincat" <+> (text name <+> char '=' <+> char '[' $$
|
||||
nest 2 (vcat (map text fields)) $$
|
||||
nest 2 (vcat (map (text.show) fields)) $$
|
||||
char ']')
|
||||
modifyIORef ref $ (\doc -> doc $$ def)
|
||||
|
||||
|
||||
Reference in new issue
Block a user