diff options
author | Gabriel Laskar <gabriel@lse.epita.fr> | 2015-08-17 16:18:10 +0200 |
---|---|---|
committer | Gabriel Laskar <gabriel@lse.epita.fr> | 2015-08-17 16:18:10 +0200 |
commit | 79444be5dd7aca21b6b8e1443302a2838365e2f3 (patch) | |
tree | 6743db533b05bd0919b7667215e16424179f906f | |
parent | 1a3034b179ccbdd1411f6cb4718a628e89f723d3 (diff) | |
download | pygments-79444be5dd7aca21b6b8e1443302a2838365e2f3.tar.gz |
ASM Lexers, add more punctuation
For some architectures, the symbols "[]" and "!" are used.
-rw-r--r-- | pygments/lexers/asm.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexers/asm.py b/pygments/lexers/asm.py index c308f7fc..8ec5ed99 100644 --- a/pygments/lexers/asm.py +++ b/pygments/lexers/asm.py @@ -87,7 +87,7 @@ class GasLexer(RegexLexer): (r'#.*?\n', Comment) ], 'punctuation': [ - (r'[-*,.():]+', Punctuation) + (r'[-*,.()\[\]!:]+', Punctuation) ] } |