From 6e08cdcc47ae1c311266dca623643246f1815d36 Mon Sep 17 00:00:00 2001 From: Josh Tynjala Date: Fri, 10 Jun 2022 09:37:21 -0700 Subject: [PATCH] AS3: highlight methods without modifiers Previously, at least one was required, such as the access modifier. --- distribution/src/assembly/syntaxes/AS3.tmLanguage | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/distribution/src/assembly/syntaxes/AS3.tmLanguage b/distribution/src/assembly/syntaxes/AS3.tmLanguage index 8b030f293..44013a268 100644 --- a/distribution/src/assembly/syntaxes/AS3.tmLanguage +++ b/distribution/src/assembly/syntaxes/AS3.tmLanguage @@ -864,7 +864,7 @@ method begin - (?x) (^|\s+) ((\w+)\s+)? ((\w+)\s+)? ((\w+)\s+)? (\w+) (?=\s+\bfunction\b) + (?x) (^|\s+) ((\w+)\s+)? ((\w+)\s+)? ((\w+)\s+)? ((\w+)\s+)? (?=\bfunction\b) beginCaptures 3