mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 04:59:31 -06:00
GFCCRaw printing: no space in App with no arguments.
This commit is contained in:
@@ -11,6 +11,7 @@ prGrammar :: Grammar -> ShowS
|
||||
prGrammar (Grm xs) = prRExpList xs
|
||||
|
||||
prRExp :: RExp -> ShowS
|
||||
prRExp (App x []) = showChar '(' . prCId x . showChar ')'
|
||||
prRExp (App x xs) = showChar '(' . prCId x . showChar ' '
|
||||
. prRExpList xs . showChar ')'
|
||||
prRExp (AId x) = prCId x
|
||||
|
||||
Reference in New Issue
Block a user