strip . modifer from opcodes

opcode is not missing if we have the macro declaration
This commit is contained in:
Kelvin Sherlock 2019-08-25 17:21:29 -04:00
parent 27a5a9ac77
commit 8e49e49694
1 changed files with 5 additions and 0 deletions

View File

@ -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)