summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel Laskar <gabriel@lse.epita.fr>2015-08-17 16:18:10 +0200
committerGabriel Laskar <gabriel@lse.epita.fr>2015-08-17 16:18:10 +0200
commit79444be5dd7aca21b6b8e1443302a2838365e2f3 (patch)
tree6743db533b05bd0919b7667215e16424179f906f
parent1a3034b179ccbdd1411f6cb4718a628e89f723d3 (diff)
downloadpygments-79444be5dd7aca21b6b8e1443302a2838365e2f3.tar.gz
ASM Lexers, add more punctuation
For some architectures, the symbols "[]" and "!" are used.
-rw-r--r--pygments/lexers/asm.py2
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)
]
}