summaryrefslogtreecommitdiff
path: root/src/compiler/GF/CompileOne.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/CompileOne.hs
parent1c086bed25811db1cf71990fb2eeca023e62c060 (diff)
Benchmarks, initial sketches
Diffstat (limited to 'src/compiler/GF/CompileOne.hs')
-rw-r--r--src/compiler/GF/CompileOne.hs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/compiler/GF/CompileOne.hs b/src/compiler/GF/CompileOne.hs
index 48761671a..9671f9e92 100644
--- a/src/compiler/GF/CompileOne.hs
+++ b/src/compiler/GF/CompileOne.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE CPP #-}
module GF.CompileOne(-- ** Compiling a single module
OneOutput,CompiledModule,
compileOne,reuseGFO,useTheSource
@@ -10,7 +11,11 @@ import GF.Compile.Rename(renameModule)
import GF.Compile.CheckGrammar(checkModule)
import GF.Compile.Optimize(optimizeModule)
import GF.Compile.SubExOpt(subexpModule,unsubexpModule)
+#ifdef PRE_PMCFG
+import GF.Compile.GeneratePmcfgPre(generatePMCFG)
+#else
import GF.Compile.GeneratePMCFG(generatePMCFG)
+#endif
import GF.Compile.Update(extendModule,rebuildModule)
import GF.Compile.Tags(writeTags,gf2gftags)