-printer=regexp handles precedence

This commit is contained in:
bringert
2007-06-28 01:25:36 +00:00
parent f2710ba80d
commit 448e1db488
2 changed files with 10 additions and 6 deletions

View File

@@ -20,7 +20,7 @@ import GF.Compile.ShellState (StateGrammar)
regexpPrinter :: Options -> StateGrammar -> String
regexpPrinter opts s = prRE $ dfa2re $ cfgToFA opts s
regexpPrinter opts s = (++"\n") $ prRE $ dfa2re $ cfgToFA opts s
multiRegexpPrinter :: Options -> StateGrammar -> String
multiRegexpPrinter opts s = prREs $ mfa2res $ cfgToMFA opts s