From 27508654c01c5ebad3c495629ccbd49c067429ab Mon Sep 17 00:00:00 2001 From: aarne Date: Thu, 6 Mar 2008 21:27:14 +0000 Subject: option -mac to vt command (uses open with ps) --- src/GF/Infra/CompactPrint.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/GF/Infra/CompactPrint.hs') diff --git a/src/GF/Infra/CompactPrint.hs b/src/GF/Infra/CompactPrint.hs index 7b37679ee..486c9e183 100644 --- a/src/GF/Infra/CompactPrint.hs +++ b/src/GF/Infra/CompactPrint.hs @@ -12,7 +12,8 @@ dps = dropWhile isSpace spaceIf pre post w = case w of _ | pre w -> "\n" ++ w _ | post w -> w ++ "\n" - c:cs | isAlpha c || isDigit c -> " " ++ w + c:_ | isAlpha c || isDigit c -> " " ++ w + '_':_ -> " " ++ w _ -> w keywordGF w = elem w ["cat","fun","lin","lincat","lindef","oper","param"] -- cgit v1.2.3