From e8aa32d746df7b8554eda1bde0ca1fc513f07b58 Mon Sep 17 00:00:00 2001 From: aarne Date: Fri, 3 Jun 2005 20:51:58 +0000 Subject: example substitutions --- src/GF.hs | 8 +++---- src/GF/Compile/MkConcrete.hs | 52 +++++++++++++++++++++++++++++++------------- src/GF/Grammar/Macros.hs | 9 ++++++-- src/GF/Infra/Option.hs | 6 ++--- src/GF/UseGrammar/GetTree.hs | 7 +++--- 5 files changed, 55 insertions(+), 27 deletions(-) (limited to 'src') diff --git a/src/GF.hs b/src/GF.hs index 2b7b6880d..96cf33661 100644 --- a/src/GF.hs +++ b/src/GF.hs @@ -5,9 +5,9 @@ -- Stability : (stability) -- Portability : (portability) -- --- > CVS $Date: 2005/06/02 17:31:56 $ +-- > CVS $Date: 2005/06/03 21:51:58 $ -- > CVS $Author: aarne $ --- > CVS $Revision: 1.26 $ +-- > CVS $Revision: 1.27 $ -- -- The Main module of GF program. ----------------------------------------------------------------------------- @@ -60,7 +60,7 @@ main = do _ -> putStrLnFlush "expecting exactly one gf file to compile" _ | opt makeConcrete -> do - mapM_ mkConcrete fs + mkConcretes fs _ | opt doBatch -> do if opt beSilent then return () else putStrLnFlush "" @@ -85,7 +85,7 @@ helpMsg = unlines [ " -noemit do not emit code when compiling", " -v be verbose when compiling", " -batch structure session by XML tags (use > to send into a file)", - " -makeconcrete batch-compile .gfe file to concrete syntax using parser", + " -examples batch-compile .gfe file by parsing examples", " -help show this message", "To use the GUI: jgf