bug fixes

This commit is contained in:
Kelvin Sherlock 2017-08-15 10:18:46 -04:00
parent d5de83f068
commit 48e7985579
4 changed files with 17 additions and 3 deletions

View File

@ -53,6 +53,10 @@ contexts:
- include: mnemonics-65816-long - include: mnemonics-65816-long
- include: mnemonics-65816-alt - include: mnemonics-65816-alt
# toolbox macros
- match: \b_[A-Za-z0-9]+\b
scope: support.function.macro.toolbox
- match: \b((?i)DC|DCB|DS)([.](.))? - match: \b((?i)DC|DCB|DS)([.](.))?
scope: meta.dc.directive scope: meta.dc.directive
@ -271,7 +275,7 @@ contexts:
scope: keyword.mnemonic.rockwell scope: keyword.mnemonic.rockwell
mnemonics-65c02-m740: mnemonics-65c02-m740:
- match: \b(?i:CLT|COM|LDM|RRF|SETT|TST)\b - match: \b(?i:CLT|COM|LDM|RRF|SET|TST)\b
scope: keyword.mnemonic.m740 scope: keyword.mnemonic.m740

View File

@ -52,7 +52,7 @@
<key>comment</key> <key>comment</key>
<string>Rockwell/m740</string> <string>Rockwell/m740</string>
<key>match</key> <key>match</key>
<string>\b(?i:CLT|COM|LDM|RRF|SETT|TST)\b</string> <string>\b(?i:CLT|COM|LDM|RRF|SET|TST)\b</string>
<key>name</key> <key>name</key>
<string>keyword.mnemonic.other</string> <string>keyword.mnemonic.other</string>
</dict> </dict>

View File

@ -62,6 +62,12 @@ contexts:
- include: mnemonics-65816-long - include: mnemonics-65816-long
- include: mnemonics-65816-alt - include: mnemonics-65816-alt
# toolbox macros
- match: \b_[A-Za-z0-9]+\b
scope: support.function.macro.toolbox
- match: ~[A-Za-z0-9]+\b
scope: support.function.macro.toolbox
- match: \b(?i:DFB|DB|DDB|DA|DW|ADR|ADRL|DS)\b - match: \b(?i:DFB|DB|DDB|DA|DW|ADR|ADRL|DS)\b
scope: keyword.directive.data scope: keyword.directive.data
@ -132,7 +138,7 @@ contexts:
operand: operand:
- include: comment - include: comment
- include: numbers - include: numbers
# - include: strings - include: strings
- include: macro-parm - include: macro-parm
operand-hex: operand-hex:

View File

@ -43,6 +43,10 @@ contexts:
- include: mnemonics-65816-long - include: mnemonics-65816-long
- include: mnemonics-65816-alt - include: mnemonics-65816-alt
# toolbox macros
- match: \b_[A-Za-z0-9]+\b
scope: support.function.macro.toolbox
- match: \b(?i:IMP|INS)\b - match: \b(?i:IMP|INS)\b
scope: keyword.control.import scope: keyword.control.import
set: operand-string set: operand-string