GFCCRaw printing: no space in App with no arguments.

This commit is contained in:
bjorn
2008-01-26 16:46:46 +00:00
parent 590f095492
commit 6cc162e83c

View File

@@ -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