diff options
| author | peb <unknown> | 2005-05-17 10:20:25 +0000 |
|---|---|---|
| committer | peb <unknown> | 2005-05-17 10:20:25 +0000 |
| commit | 9b42aff901a3b14aaaf113098d9640e66fe9e5a2 (patch) | |
| tree | 9400d0e5fd802a717c7390ad36688af19ce22ca4 /src/GF/UseGrammar/Custom.hs | |
| parent | fc11aeef6d389f9d5f02959272c5a8efdebb61b7 (diff) | |
"Committed_by_peb"
Diffstat (limited to 'src/GF/UseGrammar/Custom.hs')
| -rw-r--r-- | src/GF/UseGrammar/Custom.hs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/GF/UseGrammar/Custom.hs b/src/GF/UseGrammar/Custom.hs index 65657ca26..08136fad8 100644 --- a/src/GF/UseGrammar/Custom.hs +++ b/src/GF/UseGrammar/Custom.hs @@ -5,9 +5,9 @@ -- Stability : (stable) -- Portability : (portable) -- --- > CVS $Date: 2005/05/13 12:40:20 $ +-- > CVS $Date: 2005/05/17 11:20:25 $ -- > CVS $Author: peb $ --- > CVS $Revision: 1.62 $ +-- > CVS $Revision: 1.63 $ -- -- A database for customizable GF shell commands. -- @@ -128,7 +128,7 @@ customGrammarParser :: CustomData (FilePath -> IOE C.CanonGrammar) customGrammarPrinter :: CustomData (StateGrammar -> String) -- | multiGrammarPrinter, \"-printer=x\" -customMultiGrammarPrinter :: CustomData (CanonGrammar -> String) +customMultiGrammarPrinter :: CustomData (Options -> CanonGrammar -> String) -- | syntaxPrinter, \"-printer=x\" customSyntaxPrinter :: CustomData (GF.Grammar -> String) @@ -277,8 +277,8 @@ customGrammarPrinter = customMultiGrammarPrinter = customData "Printers for multiple grammars, selected by option -printer=x" $ [ - (strCI "gfcm", MC.prCanon) - ,(strCI "header", MC.prCanonMGr) + (strCI "gfcm", const MC.prCanon) + ,(strCI "header", const MC.prCanonMGr) ,(strCI "cfgm", prCanonAsCFGM) ,(strCI "graph", visualizeCanonGrammar) ] |
