support for source gr and i -retain in GFI env

This commit is contained in:
aarne
2008-05-24 09:16:59 +00:00
parent 51e1e55005
commit f1fd6260e0
3 changed files with 31 additions and 6 deletions

View File

@@ -15,6 +15,7 @@
-----------------------------------------------------------------------------
module GF.Grammar.Grammar (SourceGrammar,
emptySourceGrammar,
SourceModInfo,
SourceModule,
SourceAbs,
@@ -64,6 +65,8 @@ import qualified Data.ByteString.Char8 as BS
-- | grammar as presented to the compiler
type SourceGrammar = MGrammar Ident Info
emptySourceGrammar = MGrammar []
type SourceModInfo = ModInfo Ident Info
type SourceModule = (Ident, SourceModInfo)