1
0
forked from GitHub/gf-core

Fixed module names and imports after giant file move.

This commit is contained in:
bringert
2005-04-21 15:21:02 +00:00
parent 8e44d9a8c1
commit 93af0c8535
209 changed files with 2038 additions and 2036 deletions

View File

@@ -1,4 +1,4 @@
module AbsCFG where
module GF.CFGM.AbsCFG where
-- Haskell module generated by the BNF converter

View File

@@ -1,8 +1,8 @@
{-# OPTIONS -fglasgow-exts -cpp #-}
{-# LINE 3 "LexCFG.x" #-}
module LexCFG where
module GF.CFGM.LexCFG where
import ErrM
import GF.Data.ErrM
#if __GLASGOW_HASKELL__ >= 503
@@ -10,8 +10,8 @@ import Data.Array
import Data.Char (ord)
import Data.Array.Base (unsafeAt)
#else
import Array
import Char (ord)
import Data.Array
import Data.Char (ord)
#endif
#if __GLASGOW_HASKELL__ >= 503
import GHC.Exts

View File

@@ -1,9 +1,9 @@
{-# OPTIONS -fglasgow-exts -cpp #-}
module ParCFG where
import AbsCFG
import LexCFG
import ErrM
import Array
module GF.CFGM.ParCFG where
import GF.CFGM.AbsCFG
import GF.CFGM.LexCFG
import GF.Data.ErrM
import Data.Array
#if __GLASGOW_HASKELL__ >= 503
import GHC.Exts
#else
@@ -476,7 +476,7 @@ happyError ts =
myLexer = tokens
{-# LINE 1 "GenericTemplate.hs" #-}
-- $Id: ParCFG.hs,v 1.6 2005/03/21 14:27:06 bringert Exp $
-- $Id: ParCFG.hs,v 1.7 2005/04/21 16:21:17 bringert Exp $

View File

@@ -1,9 +1,9 @@
module PrintCFG where
module GF.CFGM.PrintCFG where
-- pretty-printer generated by the BNF converter
import AbsCFG
import Char
import GF.CFGM.AbsCFG
import Data.Char
-- the top-level printing method
printTree :: Print a => a -> String

View File

@@ -5,33 +5,33 @@
-- Stability : (stable)
-- Portability : (portable)
--
-- > CVS $Date: 2005/04/16 05:40:50 $
-- > CVS $Author: peb $
-- > CVS $Revision: 1.16 $
-- > CVS $Date: 2005/04/21 16:21:19 $
-- > CVS $Author: bringert $
-- > CVS $Revision: 1.17 $
--
-- Handles printing a CFGrammar in CFGM format.
-----------------------------------------------------------------------------
module PrintCFGrammar (prCanonAsCFGM) where
module GF.CFGM.PrintCFGrammar (prCanonAsCFGM) where
import AbsGFC
import qualified PrintCFG
import Ident
import GFC
import Modules
import GF.Canon.AbsGFC
import qualified GF.CFGM.PrintCFG as PrintCFG
import GF.Infra.Ident
import GF.Canon.GFC
import GF.Infra.Modules
import qualified GF.Conversion.GFC as Cnv
import GF.Infra.Print (prt)
import GF.Formalism.CFG (CFRule(..))
import qualified GF.Conversion.Types as GT
import qualified AbsCFG
import qualified GF.CFGM.AbsCFG as AbsCFG
import GF.Formalism.Utilities (Symbol(..))
import ErrM
import qualified Option
import GF.Data.ErrM
import qualified GF.Infra.Option as Option
import List (intersperse)
import Maybe (listToMaybe, maybe)
import Data.List (intersperse)
import Data.Maybe (listToMaybe, maybe)
-- | FIXME: should add an Options argument,
-- to be able to decide which CFG conversion one wants to use