Permalink
Browse files

Better opcode handling regex (thanks @gutomaia)

  • Loading branch information...
1 parent 1824d73 commit f83fc66415dbca0b0fc18425d2975e015d197f66 @klaussilveira committed May 23, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 nesasm.tmLanguage
View
@@ -61,7 +61,7 @@
</dict>
<dict>
<key>match</key>
- <string>^[\s]+[A-Z]{3}</string>
+ <string>^[\s]+(ADC|AND|ASL|BCC|BCS|BEQ|BIT|BMI|BNE|BPL|BRK|BVC|BVS|CLC|CLD|CLI|CLV|CMP|CPX|CPY|DEC|DEX|DEY|EOR|INC|INX|INY|JMP|JSR|LDA|LDX|LDY|LSR|NOP|ORA|PHA|PHP|PLA|PLP|ROL|ROR|RTI|RTS|SBC|SEC|SED|SEI|STA|STX|STY|TAX|TAY|TSX|TXA|TXS|TYA)</string>
<key>name</key>
<string>keyword.operator</string>
</dict>

0 comments on commit f83fc66

Please sign in to comment.