diff options
| author | aarne <aarne@cs.chalmers.se> | 2006-02-25 22:58:55 +0000 |
|---|---|---|
| committer | aarne <aarne@cs.chalmers.se> | 2006-02-25 22:58:55 +0000 |
| commit | a911adada07fa6b3c4e5d69b09cd3fc82bb01338 (patch) | |
| tree | 4111ce77458158c35dae1bee46c5b471be8453a3 | |
| parent | 281f57112a38d75fc29c4391712535f3cfad9e22 (diff) | |
documenting the library
| -rw-r--r-- | examples/bronzeage/README | 1 | ||||
| -rw-r--r-- | src/GF.hs | 5 | ||||
| -rw-r--r-- | src/GF/Shell/ShellCommands.hs | 2 |
3 files changed, 3 insertions, 5 deletions
diff --git a/examples/bronzeage/README b/examples/bronzeage/README index 02b430c7b..c93a8c99c 100644 --- a/examples/bronzeage/README +++ b/examples/bronzeage/README @@ -15,7 +15,6 @@ Before this, you have to have compiled the libraries: cd <whatever you need>GF/lib/resource-1.0 make present - make install To work with the grammar @@ -59,9 +59,8 @@ main = do return () _ | opt doMake -> do - case fs of - [f] -> batchCompile os f - _ -> putStrLnFlush "expecting exactly one gf file to compile" + mapM_ (batchCompile os) fs + return () _ | opt makeConcrete -> do mkConcretes fs diff --git a/src/GF/Shell/ShellCommands.hs b/src/GF/Shell/ShellCommands.hs index 59500e7fa..56c172037 100644 --- a/src/GF/Shell/ShellCommands.hs +++ b/src/GF/Shell/ShellCommands.hs @@ -169,7 +169,7 @@ optionsOfCommand co = case co of CSetFlag -> both "utf8 table struct record all multi" "cat lang lexer parser number depth rawtrees unlexer optimize path conversion printer" - CImport _ -> both "old v s src gfc retain nocf nocheckcirc cflexer noemit o ex prob" + CImport _ -> both "old v s src gfc retain nocf nocheckcirc cflexer noemit o make ex prob" "abs cnc res path optimize conversion cat preproc probs noparse" CRemoveLanguage _ -> none CEmptyState -> none |
