diff options
| author | bringert <bringert@cs.chalmers.se> | 2007-01-05 15:38:47 +0000 |
|---|---|---|
| committer | bringert <bringert@cs.chalmers.se> | 2007-01-05 15:38:47 +0000 |
| commit | 6ee7296f9dd5290bb3ee581403a18464444ab28b (patch) | |
| tree | e78719e9463866a899bfe5e1cabc26844860e7c0 /src/GF/Speech/PrRegExp.hs | |
| parent | 741dde5a2a00dc737e570a7005663c2534ea4f6d (diff) | |
Changed all SRG printer to take Options and StateGrammar arguments. This makes Custom a lot cleaner.
Diffstat (limited to 'src/GF/Speech/PrRegExp.hs')
| -rw-r--r-- | src/GF/Speech/PrRegExp.hs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/GF/Speech/PrRegExp.hs b/src/GF/Speech/PrRegExp.hs index 0f661edac..50156c42b 100644 --- a/src/GF/Speech/PrRegExp.hs +++ b/src/GF/Speech/PrRegExp.hs @@ -12,11 +12,11 @@ module GF.Speech.PrRegExp (regexpPrinter) where import GF.Conversion.Types import GF.Infra.Ident +import GF.Infra.Option (Options) import GF.Speech.CFGToFiniteState import GF.Speech.RegExp import GF.Compile.ShellState (StateGrammar) -regexpPrinter :: Ident -- ^ Grammar name - -> String -> StateGrammar -> String -regexpPrinter name start = prRE . dfa2re . cfgToFA start +regexpPrinter :: Options -> StateGrammar -> String +regexpPrinter opts s = prRE $ dfa2re $ cfgToFA opts s |
