summaryrefslogtreecommitdiff
path: root/src/GF/Speech/PrFA.hs
diff options
context:
space:
mode:
authorbringert <bringert@cs.chalmers.se>2005-12-13 21:03:56 +0000
committerbringert <bringert@cs.chalmers.se>2005-12-13 21:03:56 +0000
commit5a480fac520db1bab6f1336bee9b2031dbd36cab (patch)
tree01210f87844268c0652867df51f4831094fa3e17 /src/GF/Speech/PrFA.hs
parent9f867c4922cccb6e61b273a55103e2afaeac4bde (diff)
Added semi-working speech_input command.
Diffstat (limited to 'src/GF/Speech/PrFA.hs')
-rw-r--r--src/GF/Speech/PrFA.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/GF/Speech/PrFA.hs b/src/GF/Speech/PrFA.hs
index 79a9356db..1dac4fab0 100644
--- a/src/GF/Speech/PrFA.hs
+++ b/src/GF/Speech/PrFA.hs
@@ -37,7 +37,7 @@ import Data.Maybe (fromMaybe)
faGraphvizPrinter :: Ident -- ^ Grammar name
-> Options -> CGrammar -> String
faGraphvizPrinter name opts cfg =
- prFAGraphviz $ mapStates (const "") $ cfgToFA name opts cfg
+ prFAGraphviz $ mapStates (const "") $ cfgToFA opts cfg
-- | Convert the grammar to a regular grammar and print it in BNF
@@ -51,7 +51,7 @@ regularPrinter = prCFRules . makeSimpleRegular
faCPrinter :: Ident -- ^ Grammar name
-> Options -> CGrammar -> String
-faCPrinter name opts cfg = fa2c $ cfgToFA name opts cfg
+faCPrinter name opts cfg = fa2c $ cfgToFA opts cfg
fa2c :: DFA String -> String
fa2c fa = undefined \ No newline at end of file