mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-22 11:19:32 -06:00
improved the printability of synopsis examples
This commit is contained in:
@@ -74,7 +74,7 @@ mkEx = unwords . bind . mkE . words where
|
||||
mkE e = case e of
|
||||
"atomic":"term":_ -> ["*"]
|
||||
"[]":_ -> ["''"]
|
||||
"pre":p@('{':_):es -> init (init (drop 2 p)) : mkE es
|
||||
"pre":p@('{':_):es -> init (init (drop 2 p)) : [] ---- mkE es -- occurs only on last position
|
||||
e0:es -> e0:mkE es
|
||||
_ -> e
|
||||
|
||||
|
||||
Reference in New Issue
Block a user