diff options
author | Georg Brandl <georg@python.org> | 2012-03-10 14:27:31 +0100 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2012-03-10 14:27:31 +0100 |
commit | c11b7995ce496ad1f0dc439187b0b8334428a78c (patch) | |
tree | ed004a956751bc1ebbb8002dc6ccb2b3a1c4f66f /pygments/lexers/asm.py | |
parent | d761f76cb2491e4269638a4971dff6c26010c85f (diff) | |
parent | 08c53fd3c0e9ef11f66b9bf4dc8475677d2b7566 (diff) | |
download | pygments-c11b7995ce496ad1f0dc439187b0b8334428a78c.tar.gz |
Merged in rafaelmartins/pygments-main (pull request #60)
Diffstat (limited to 'pygments/lexers/asm.py')
-rw-r--r-- | pygments/lexers/asm.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pygments/lexers/asm.py b/pygments/lexers/asm.py index 26951f7e..11964a77 100644 --- a/pygments/lexers/asm.py +++ b/pygments/lexers/asm.py @@ -136,17 +136,17 @@ class ObjdumpLexer(RegexLexer): ('( *)('+hex+r'+:)(\t)((?:'+hex+hex+' )+)$', bygroups(Text, Name.Label, Text, Number.Hex)), # Skipped a few bytes - ('\t\.\.\.$', Text), + (r'\t\.\.\.$', Text), # Relocation line # (With offset) - ('(\t\t\t)('+hex+'+:)( )([^\t]+)(\t)(.*?)([-+])(0x' + hex + '+)$', + (r'(\t\t\t)('+hex+r'+:)( )([^\t]+)(\t)(.*?)([-+])(0x' + hex + '+)$', bygroups(Text, Name.Label, Text, Name.Property, Text, Name.Constant, Punctuation, Number.Hex)), # (Without offset) - ('(\t\t\t)('+hex+'+:)( )([^\t]+)(\t)(.*?)$', + (r'(\t\t\t)('+hex+r'+:)( )([^\t]+)(\t)(.*?)$', bygroups(Text, Name.Label, Text, Name.Property, Text, Name.Constant)), - ('[^\n]+\n', Other) + (r'[^\n]+\n', Other) ] } |