diff --git a/doc/gf-history.html b/doc/gf-history.html index 1ff6b5cab..1e5555c11 100644 --- a/doc/gf-history.html +++ b/doc/gf-history.html @@ -20,8 +20,8 @@ converted to .gf files by the command
gf -makeconcrete File.gfe-See -../lib/resource/doc/examples/QuestionsExI.gfe +See +../lib/resource/doc/examples/QuestionsI.gfe for an example.
diff --git a/index.html b/index.html index dce5b4f1b..28b23a429 100644 --- a/index.html +++ b/index.html @@ -20,6 +20,12 @@ May 17, 2005.
+ May 17, 2005. Version 2.2 released. See highlights. Download from diff --git a/src/GF/Compile/MkConcrete.hs b/src/GF/Compile/MkConcrete.hs index f586435a9..75b4f215e 100644 --- a/src/GF/Compile/MkConcrete.hs +++ b/src/GF/Compile/MkConcrete.hs @@ -44,13 +44,15 @@ mkConcrete :: FilePath -> IO () mkConcrete file = do cont <- liftM lines $ readFileIf file let res = getResPath cont - egr <- appIOE $ optFile2grammar (options [useOptimizer "share"]) res --- for -mcfg + egr <- appIOE $ + optFile2grammar (options [useOptimizer "share",fromSource,beSilent,notEmitCode]) res --- for -mcfg gr <- err (\s -> putStrLn s >> error "resource file rejected") return egr let abs = prt_ $ absId gr let parser cat = errVal ([],"No parse") . optParseArgErrMsg (options [newMParser, firstCat cat, beVerbose]) gr let morpho = isKnownWord gr let out = suffixFile "gf" $ justModuleName file + writeFile out "" mapM_ (mkCnc out parser morpho) cont getResPath :: [String] -> String