mirror of
https://github.com/ksherlock/65816.tmbundle.git
synced 2024-11-21 20:30:51 +00:00
strip . modifer from opcodes
opcode is not missing if we have the macro declaration
This commit is contained in:
parent
27a5a9ac77
commit
8e49e49694
@ -435,6 +435,8 @@ class MpwMacGen(sublime_plugin.TextCommand):
|
||||
|
||||
label = tokens[0].upper()
|
||||
opcode = tokens[1].upper()
|
||||
ix = opcode.find('.')
|
||||
if ix >= 0: opcode = opcode[:ix]
|
||||
|
||||
if opcode == "MACRO":
|
||||
state = 1
|
||||
@ -448,7 +450,10 @@ class MpwMacGen(sublime_plugin.TextCommand):
|
||||
state = 0
|
||||
continue
|
||||
|
||||
|
||||
|
||||
if opcode in self.opcodes: continue
|
||||
if opcode in known: continue
|
||||
missing.add(opcode)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user