From 2f661a0fcd0dec71da4eb225d0f6214ed3ecc1f2 Mon Sep 17 00:00:00 2001 From: phannebohm Date: Fri, 15 Mar 2024 11:28:22 +0100 Subject: [PATCH] Fix runaway regex in comment string detection --- syntaxes/modelica.tmGrammar.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/syntaxes/modelica.tmGrammar.yaml b/syntaxes/modelica.tmGrammar.yaml index 38e9134..d91c403 100644 --- a/syntaxes/modelica.tmGrammar.yaml +++ b/syntaxes/modelica.tmGrammar.yaml @@ -51,7 +51,7 @@ patterns: name: support.type # Class definitions - - begin: \b(model|class|record|block|package|function)\s+(\w+)\s*((?