From 166a32b1e7b29263edb89a630a093fca38ca1909 Mon Sep 17 00:00:00 2001 From: aarne Date: Tue, 3 Aug 2004 15:21:01 +0000 Subject: testing grammar distr --- src/GF/Shell/ShellCommands.hs | 2 +- src/HelpFile | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/GF/Shell/ShellCommands.hs b/src/GF/Shell/ShellCommands.hs index 09a550704..909bff386 100644 --- a/src/GF/Shell/ShellCommands.hs +++ b/src/GF/Shell/ShellCommands.hs @@ -129,7 +129,7 @@ testValidFlag st f x = case f of optionsOfCommand :: Command -> ([String],[String]) optionsOfCommand co = case co of - CImport _ -> both "old v s opt src retain nocf nocheckcirc cflexer" + CImport _ -> both "old v s opt src retain nocf nocheckcirc cflexer noemit o" "abs cnc res path" CRemoveLanguage _ -> none CEmptyState -> none diff --git a/src/HelpFile b/src/HelpFile index 4ef71dafe..650870398 100644 --- a/src/HelpFile +++ b/src/HelpFile @@ -31,6 +31,8 @@ i, import: i File -nocf don't build context-free grammar (thus no parser) -nocheckcirc don't eliminate circular rules from CF -cflexer build an optimized parser with separate lexer trie + -noemit do not emit code (default with old grammar format) + -o do emit code (default with new grammar format) flags: -abs set the name used for abstract syntax (with -old option) -cnc set the name used for concrete syntax (with -old option) -- cgit v1.2.3