From c544ef31823c7d2c28c28cae408cca5d71e6978d Mon Sep 17 00:00:00 2001 From: "kr.angelov" Date: Wed, 21 May 2008 13:10:54 +0000 Subject: use ByteString internally in Ident, CId and Label --- src-3.0/GF/Command/Commands.hs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src-3.0/GF/Command/Commands.hs') diff --git a/src-3.0/GF/Command/Commands.hs b/src-3.0/GF/Command/Commands.hs index d5b5a8768..7f84805f6 100644 --- a/src-3.0/GF/Command/Commands.hs +++ b/src-3.0/GF/Command/Commands.hs @@ -12,6 +12,7 @@ module GF.Command.Commands ( import GF.Command.AbsGFShell hiding (Tree) import GF.Command.PPrTree import GF.Command.ParGFShell +import GF.GFCC.CId import GF.GFCC.ShowLinearize import GF.GFCC.API import GF.GFCC.Macros @@ -131,10 +132,10 @@ allCommands mgr = Map.fromAscList [ optLin opts t = unlines [linea lang t | lang <- optLangs opts] where linea lang = case opts of - _ | isOpt "all" opts -> allLinearize gr (cid lang) - _ | isOpt "table" opts -> tableLinearize gr (cid lang) - _ | isOpt "term" opts -> termLinearize gr (cid lang) - _ | isOpt "record" opts -> recordLinearize gr (cid lang) + _ | isOpt "all" opts -> allLinearize gr (mkCId lang) + _ | isOpt "table" opts -> tableLinearize gr (mkCId lang) + _ | isOpt "term" opts -> termLinearize gr (mkCId lang) + _ | isOpt "record" opts -> recordLinearize gr (mkCId lang) _ -> linearize mgr lang -- cgit v1.2.3