From 363ddd7b916a48f86f1520350097f83175a0debf Mon Sep 17 00:00:00 2001 From: krasimir Date: Thu, 29 May 2008 11:43:28 +0000 Subject: simplify FSymbol type --- src-3.0/GF/Formalism/FCFG.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src-3.0/GF/Formalism') diff --git a/src-3.0/GF/Formalism/FCFG.hs b/src-3.0/GF/Formalism/FCFG.hs index 96e88c8cf..91f954aca 100644 --- a/src-3.0/GF/Formalism/FCFG.hs +++ b/src-3.0/GF/Formalism/FCFG.hs @@ -59,7 +59,7 @@ fcatVar = (-4) -- Symbol type FIndex = Int data FSymbol - = FSymCat {-# UNPACK #-} !FCat {-# UNPACK #-} !FIndex {-# UNPACK #-} !Int + = FSymCat {-# UNPACK #-} !FIndex {-# UNPACK #-} !Int | FSymTok FToken @@ -78,7 +78,7 @@ instance Print CId where prt = prCId instance Print FSymbol where - prt (FSymCat c l n) = "($" ++ prt n ++ "!" ++ prt l ++ ")" + prt (FSymCat l n) = "($" ++ prt n ++ "!" ++ prt l ++ ")" prt (FSymTok t) = simpleShow (prt t) where simpleShow str = "\"" ++ concatMap mkEsc str ++ "\"" mkEsc '\\' = "\\\\" -- cgit v1.2.3