From 135b909b0d0cb2b3fc0dd21c0bc16ac59056fea2 Mon Sep 17 00:00:00 2001 From: Kelvin Sherlock Date: Mon, 15 May 2023 19:35:27 -0400 Subject: [PATCH] orca/m macgen: ! is a comment character --- mac-gen.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mac-gen.py b/mac-gen.py index d20d3fa..8886bd1 100644 --- a/mac-gen.py +++ b/mac-gen.py @@ -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