diff options
author | gbrandl <devnull@localhost> | 2007-05-28 22:44:29 +0200 |
---|---|---|
committer | gbrandl <devnull@localhost> | 2007-05-28 22:44:29 +0200 |
commit | f560d7092ae5e408ffa0820246753fb308803669 (patch) | |
tree | 48561e122909abb3f0c9b3da4169f3512358eca8 /pygments/lexers/text.py | |
parent | 8296a00a9bc50d9fd5b19931625c18350d62bafc (diff) | |
download | pygments-f560d7092ae5e408ffa0820246753fb308803669.tar.gz |
[svn] Apply patches by Tim, add MiniD lexer from Jarrett and new example files.
Diffstat (limited to 'pygments/lexers/text.py')
-rw-r--r-- | pygments/lexers/text.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pygments/lexers/text.py b/pygments/lexers/text.py index b2a553c9..d585cead 100644 --- a/pygments/lexers/text.py +++ b/pygments/lexers/text.py @@ -139,9 +139,12 @@ class MakefileLexer(RegexLexer): (r'[^\\\n]+', String), ], 'block-header': [ - (r'[^,\n#]+', Number), + (r'[^,\\\n#]+', Number), (r',', Punctuation), (r'#.*?\n', Comment), + # line continuation + (r'\\\n', Text), + (r'\\', Text), (r'\n[\t ]+', Text, 'block'), (r'\n', Text, '#pop') ], |