orca/m macgen: ! is a comment character

This commit is contained in:
Kelvin Sherlock 2023-05-15 19:35:27 -04:00
parent 5ceb1a3418
commit 135b909b0d
1 changed files with 1 additions and 0 deletions

View File

@ -283,6 +283,7 @@ class OrcaMacGen(sublime_plugin.TextCommand):
text = view.substr(r).rstrip()
if text == "": continue
if text[0] in "!*": continue
if re_comment.match(text): continue
tokens = re.split(re_ws, text, maxsplit=2)
if len(tokens) < 2: continue