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-alt
# toolbox macros
- match: \b_[A-Za-z0-9]+\b
scope: support.function.macro.toolbox
- match: \b((?i)DC|DCB|DS)([.](.))?
scope: meta.dc.directive
@ -271,7 +275,7 @@ contexts:
scope: keyword.mnemonic.rockwell
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

View File

@ -52,7 +52,7 @@
<key>comment</key>
<string>Rockwell/m740</string>
<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>
<string>keyword.mnemonic.other</string>
</dict>

View File

@ -62,6 +62,12 @@ contexts:
- include: mnemonics-65816-long
- 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
scope: keyword.directive.data
@ -132,7 +138,7 @@ contexts:
operand:
- include: comment
- include: numbers
# - include: strings
- include: strings
- include: macro-parm
operand-hex:

View File

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