From 10b0a9032372201d26b448a550fc31932e845321 Mon Sep 17 00:00:00 2001 From: krasimir Date: Thu, 5 Mar 2009 13:14:17 +0000 Subject: [PATCH] print semicolon after the ind statement --- src/GF/Grammar/Printer.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GF/Grammar/Printer.hs b/src/GF/Grammar/Printer.hs index 80b9b9e70..e55841704 100644 --- a/src/GF/Grammar/Printer.hs +++ b/src/GF/Grammar/Printer.hs @@ -120,7 +120,7 @@ ppJudgement q (id, CncFun ptype pdef pprn) = (case pprn of Just prn -> text "printname" <+> text "fun" <+> ppIdent id <+> equals <+> ppTerm q 0 prn <+> semi Nothing -> empty) -ppJudgement q (id, AnyInd cann mid) = text "ind" <+> ppIdent id <+> equals <+> (if cann then text "canonical" else empty) <+> ppIdent mid +ppJudgement q (id, AnyInd cann mid) = text "ind" <+> ppIdent id <+> equals <+> (if cann then text "canonical" else empty) <+> ppIdent mid <+> semi ppTerm q d (Abs v e) = let (vs,e') = getAbs e in prec d 0 (char '\\' <> commaPunct ppIdent (v:vs) <+> text "->" <+> ppTerm q 0 e')