summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZvi Rackover <zvirack@gmail.com>2015-06-30 11:16:56 +0000
committerZvi Rackover <zvirack@gmail.com>2015-06-30 11:16:56 +0000
commit1efab9000f769779363fc8401d538e5d5928f07f (patch)
treea0af7084a892525370fdb5dba77d00705242d528
parentc8c042e3f06e4caea4f0e07318343dbc2eba8176 (diff)
downloadpygments-1efab9000f769779363fc8401d538e5d5928f07f.tar.gz
Closes #1124: Add 'addrspacecast' instruction to the LLVM asm lexer
-rw-r--r--pygments/lexers/asm.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pygments/lexers/asm.py b/pygments/lexers/asm.py
index c308f7fc..918ed83b 100644
--- a/pygments/lexers/asm.py
+++ b/pygments/lexers/asm.py
@@ -286,7 +286,8 @@ class LlvmLexer(RegexLexer):
r'|lshr|ashr|and|or|xor|icmp|fcmp'
r'|phi|call|trunc|zext|sext|fptrunc|fpext|uitofp|sitofp|fptoui'
- r'|fptosi|inttoptr|ptrtoint|bitcast|select|va_arg|ret|br|switch'
+ r'|fptosi|inttoptr|ptrtoint|bitcast|addrspacecast'
+ r'|select|va_arg|ret|br|switch'
r'|invoke|unwind|unreachable'
r'|indirectbr|landingpad|resume'