summaryrefslogtreecommitdiff
path: root/src/compiler/GF/Compile/GrammarToPGF.hs
diff options
context:
space:
mode:
authoradelon <22380201+adelon@users.noreply.github.com>2026-05-17 20:37:48 +0200
committeradelon <22380201+adelon@users.noreply.github.com>2026-05-17 20:37:48 +0200
commit3cc01b9d311c7a9f86fbf2fa8c2d66921f9ba030 (patch)
tree5b979361c2d6b8ba19ef65345f1f20cf56059fb8 /src/compiler/GF/Compile/GrammarToPGF.hs
parent1c086bed25811db1cf71990fb2eeca023e62c060 (diff)
Benchmarks, initial sketches
Diffstat (limited to 'src/compiler/GF/Compile/GrammarToPGF.hs')
-rw-r--r--src/compiler/GF/Compile/GrammarToPGF.hs6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/compiler/GF/Compile/GrammarToPGF.hs b/src/compiler/GF/Compile/GrammarToPGF.hs
index 8c4d4558c..31f339cd8 100644
--- a/src/compiler/GF/Compile/GrammarToPGF.hs
+++ b/src/compiler/GF/Compile/GrammarToPGF.hs
@@ -1,8 +1,12 @@
-{-# LANGUAGE BangPatterns, FlexibleContexts #-}
+{-# LANGUAGE BangPatterns, CPP, FlexibleContexts #-}
module GF.Compile.GrammarToPGF (mkCanon2pgf) where
--import GF.Compile.Export
+#ifdef PRE_PMCFG
+import GF.Compile.GeneratePmcfgPre
+#else
import GF.Compile.GeneratePMCFG
+#endif
import GF.Compile.GenerateBC
import PGF(CId,mkCId,utf8CId)