diff options
author | mitsuhiko <devnull@localhost> | 2009-11-16 23:05:16 +0100 |
---|---|---|
committer | mitsuhiko <devnull@localhost> | 2009-11-16 23:05:16 +0100 |
commit | 6607635eb013de328de36cdbfc1347d486ddc0b4 (patch) | |
tree | cb95f34b4eb1b199c4e06abc768f933deb04abd3 | |
parent | 40c11733e545c21004d417b5db6d26f7dcd6ae00 (diff) | |
download | pygments-6607635eb013de328de36cdbfc1347d486ddc0b4.tar.gz |
added new float ops to LLVM
-rw-r--r-- | CHANGES | 2 | ||||
-rw-r--r-- | pygments/lexers/asm.py | 3 |
2 files changed, 5 insertions, 0 deletions
@@ -21,6 +21,8 @@ Version 1.2 - Fixed the CLexer to not highlight ternary statements as labels. +- added new float ops to LLVM + Version 1.1.1 ------------- diff --git a/pygments/lexers/asm.py b/pygments/lexers/asm.py index 655b7461..cbeadc5b 100644 --- a/pygments/lexers/asm.py +++ b/pygments/lexers/asm.py @@ -250,6 +250,9 @@ class LlvmLexer(RegexLexer): r'|malloc|free|alloca|load|store' r'|phi|call|va_arg|va_list' + # new float ops + r'|fadd|fsub|fmul' + # Comparison condition codes for icmp r'|eq|ne|ugt|uge|ult|ule|sgt|sge|slt|sle' # Ditto for fcmp: (minus keywords mentioned in other contexts) |