summaryrefslogtreecommitdiff
path: root/src/GF/Speech/PrRegExp.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/GF/Speech/PrRegExp.hs')
-rw-r--r--src/GF/Speech/PrRegExp.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GF/Speech/PrRegExp.hs b/src/GF/Speech/PrRegExp.hs
index 0ad1c0f1e..55a25d69b 100644
--- a/src/GF/Speech/PrRegExp.hs
+++ b/src/GF/Speech/PrRegExp.hs
@@ -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