From d6f32b3bcd03e7fe806a1b64cd370ba78dc00aa7 Mon Sep 17 00:00:00 2001 From: krasimir Date: Wed, 9 Jun 2010 11:32:59 +0000 Subject: dead code elimination for PGF. Note: the produced grammars will not work well with metavariables and high-order abstract syntax --- src/compiler/GF/Compile/GrammarToPGF.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/compiler/GF/Compile') diff --git a/src/compiler/GF/Compile/GrammarToPGF.hs b/src/compiler/GF/Compile/GrammarToPGF.hs index 995219efd..d1121e827 100644 --- a/src/compiler/GF/Compile/GrammarToPGF.hs +++ b/src/compiler/GF/Compile/GrammarToPGF.hs @@ -5,7 +5,7 @@ import GF.Compile.Export import GF.Compile.GeneratePMCFG import PGF.CId -import PGF.Macros(updateProductionIndices) +import PGF.Optimize(updateProductionIndices) import PGF.Check(checkLin) import qualified PGF.Macros as CM import qualified PGF.Data as C -- cgit v1.2.3