From 6b8c9dd4c9a1e28ef22a1c1797143ffd8febef5d Mon Sep 17 00:00:00 2001 From: bjorn Date: Mon, 20 Oct 2008 14:51:42 +0000 Subject: Added PGF.Macros.mapConcretes --- src/GF/Compile/GrammarToGFCC.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/GF/Compile/GrammarToGFCC.hs') diff --git a/src/GF/Compile/GrammarToGFCC.hs b/src/GF/Compile/GrammarToGFCC.hs index 51a99e632..3b71bf28a 100644 --- a/src/GF/Compile/GrammarToGFCC.hs +++ b/src/GF/Compile/GrammarToGFCC.hs @@ -51,7 +51,7 @@ mkCanon2gfcc opts cnc gr = -- Adds parsers for all concretes addParsers :: Options -> D.PGF -> D.PGF -addParsers opts pgf = pgf { D.concretes = Map.map conv (D.concretes pgf) } +addParsers opts pgf = CM.mapConcretes conv pgf where conv cnc = cnc { D.parser = Just pinfo } where -- cgit v1.2.3