From 3cc01b9d311c7a9f86fbf2fa8c2d66921f9ba030 Mon Sep 17 00:00:00 2001 From: adelon <22380201+adelon@users.noreply.github.com> Date: Sun, 17 May 2026 20:37:48 +0200 Subject: Benchmarks, initial sketches --- src/compiler/GF/CompileOne.hs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/compiler/GF/CompileOne.hs') 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) -- cgit v1.2.3