summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJJ Atria <jjatria@gmail.com>2016-03-19 18:32:07 +0000
committerJJ Atria <jjatria@gmail.com>2016-03-19 18:32:07 +0000
commit6affb65198037120b7b423d67ff9e15a5df97e9c (patch)
treeceecc62b8fcd2f7ea1c9391e0096077a36c121da
parentb0cdf3f31cac920eb93535b167ef6594db737efe (diff)
downloadpygments-6affb65198037120b7b423d67ff9e15a5df97e9c.tar.gz
Line breaks pop from number context in Praat
-rw-r--r--pygments/lexers/praat.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pygments/lexers/praat.py b/pygments/lexers/praat.py
index 0754e947..6679d3db 100644
--- a/pygments/lexers/praat.py
+++ b/pygments/lexers/praat.py
@@ -204,6 +204,7 @@ class PraatLexer(RegexLexer):
(r'[^\n]', Text),
],
'number': [
+ (r'\n', Text, '#pop'),
(r'\b\d+(\.\d*)?([eE][-+]?\d+)?%?', Number),
],
'object_attributes': [