From 2c48a10236bb19d8b04382cb1e957ce18b9d29fd Mon Sep 17 00:00:00 2001 From: bringert Date: Fri, 17 Jun 2005 13:15:16 +0000 Subject: Changed name of Con constructor in GFC.cf to avoid errors on Windows when generating Java code with BNFC for the GFC grammar. CON is a reserved filename on Windows. Con was changed to Par, and all the code using was changed too. --- src/GF/Canon/CanonToGrammar.hs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/GF/Canon/CanonToGrammar.hs') diff --git a/src/GF/Canon/CanonToGrammar.hs b/src/GF/Canon/CanonToGrammar.hs index be901d5ee..9d9af1496 100644 --- a/src/GF/Canon/CanonToGrammar.hs +++ b/src/GF/Canon/CanonToGrammar.hs @@ -5,9 +5,9 @@ -- Stability : (stable) -- Portability : (portable) -- --- > CVS $Date: 2005/05/30 21:08:14 $ --- > CVS $Author: aarne $ --- > CVS $Revision: 1.14 $ +-- > CVS $Date: 2005/06/17 14:15:17 $ +-- > CVS $Author: bringert $ +-- > CVS $Revision: 1.15 $ -- -- a decompiler. AR 12/6/2003 -- 19/4/2004 ----------------------------------------------------------------------------- @@ -129,7 +129,7 @@ redCTerm :: Term -> Err G.Term redCTerm x = case x of Arg argvar -> liftM G.Vr $ redArgVar argvar I cident -> liftM (uncurry G.Q) $ redQIdent cident - Con cident terms -> liftM2 F.mkApp + Par cident terms -> liftM2 F.mkApp (liftM (uncurry G.QC) $ redQIdent cident) (mapM redCTerm terms) LI id -> liftM G.Vr $ redIdent id -- cgit v1.2.3