From d180dadf08ddd961cf2a5db68f90223a7d76c232 Mon Sep 17 00:00:00 2001 From: hallgren Date: Wed, 31 Aug 2011 11:18:16 +0000 Subject: GF.Infra.Modules: minor tweaks Still keeping the modules both in a list and in a finite map. The overhead is smaller than I initially thought. --- src/compiler/GF/Grammar/Grammar.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/compiler/GF/Grammar') diff --git a/src/compiler/GF/Grammar/Grammar.hs b/src/compiler/GF/Grammar/Grammar.hs index e29bc331a..0234bdcb8 100644 --- a/src/compiler/GF/Grammar/Grammar.hs +++ b/src/compiler/GF/Grammar/Grammar.hs @@ -56,7 +56,7 @@ import qualified Data.ByteString.Char8 as BS -- | grammar as presented to the compiler type SourceGrammar = MGrammar Info -emptySourceGrammar = mGrammar [] +emptySourceGrammar = emptyMGrammar type SourceModInfo = ModInfo Info -- cgit v1.2.3