1
0
forked from GitHub/gf-core

GFCCRaw printing: no space in App with no arguments.

This commit is contained in:
bjorn
2008-01-26 16:46:46 +00:00
parent 10a9e25ceb
commit f52c19d4da

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