diff options
author | Zvi Rackover <zvirack@gmail.com> | 2015-06-30 11:16:56 +0000 |
---|---|---|
committer | Zvi Rackover <zvirack@gmail.com> | 2015-06-30 11:16:56 +0000 |
commit | 1efab9000f769779363fc8401d538e5d5928f07f (patch) | |
tree | a0af7084a892525370fdb5dba77d00705242d528 | |
parent | c8c042e3f06e4caea4f0e07318343dbc2eba8176 (diff) | |
download | pygments-1efab9000f769779363fc8401d538e5d5928f07f.tar.gz |
Closes #1124: Add 'addrspacecast' instruction to the LLVM asm lexer
-rw-r--r-- | pygments/lexers/asm.py | 3 |
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' |