From c8f319d24744bd1db7ba7bcad274bf634046da00 Mon Sep 17 00:00:00 2001 From: aarne Date: Wed, 21 Jun 2006 07:55:35 +0000 Subject: [PATCH] nocf default, docf explicit or by HOAS --- src/GF/Shell/HelpFile.hs | 3 ++- src/GF/Shell/ShellCommands.hs | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/GF/Shell/HelpFile.hs b/src/GF/Shell/HelpFile.hs index 18dcd3579..9a4daa282 100644 --- a/src/GF/Shell/HelpFile.hs +++ b/src/GF/Shell/HelpFile.hs @@ -60,7 +60,8 @@ txtHelpFile = "\n -src from source: ignore precompiled gfc and gfr files" ++ "\n -gfc from gfc: use compiled modules whenever they exist" ++ "\n -retain retain operations: read resource modules (needed in comm cc) " ++ - "\n -nocf don't build context-free grammar (thus no parser)" ++ + "\n -nocf don't build old-style context-free grammar (default without HOAS)" ++ + "\n -docf do build old-style context-free grammar (default with HOAS)" ++ "\n -nocheckcirc don't eliminate circular rules from CF " ++ "\n -cflexer build an optimized parser with separate lexer trie" ++ "\n -noemit do not emit code (default with old grammar format)" ++ diff --git a/src/GF/Shell/ShellCommands.hs b/src/GF/Shell/ShellCommands.hs index 08b9720bd..cdfc75057 100644 --- a/src/GF/Shell/ShellCommands.hs +++ b/src/GF/Shell/ShellCommands.hs @@ -176,7 +176,7 @@ optionsOfCommand co = case co of 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 make gfc retain nocf nocheckcirc cflexer noemit o make ex prob treebank" + both "old v s src make gfc retain docf nocf nocheckcirc cflexer noemit o make ex prob treebank" "abs cnc res path optimize conversion cat preproc probs noparse" CRemoveLanguage _ -> none CEmptyState -> none