summaryrefslogtreecommitdiff
path: root/src/compiler/GF/Grammar
diff options
context:
space:
mode:
authorhallgren <hallgren@chalmers.se>2011-08-31 11:18:16 +0000
committerhallgren <hallgren@chalmers.se>2011-08-31 11:18:16 +0000
commitd180dadf08ddd961cf2a5db68f90223a7d76c232 (patch)
treeca882ac3d5ea840d0ffc44a7a4503a8b32a9ebbe /src/compiler/GF/Grammar
parentb743abb375bda7a758bbdde8cabe47e3b38b78c9 (diff)
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.
Diffstat (limited to 'src/compiler/GF/Grammar')
-rw-r--r--src/compiler/GF/Grammar/Grammar.hs2
1 files changed, 1 insertions, 1 deletions
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