From 6a50a4fc4f5f1922b66b6d4c3bc0db79d0b330fc Mon Sep 17 00:00:00 2001 From: maelstrom Date: Tue, 20 Aug 2024 00:58:00 +0200 Subject: [PATCH] ............. fuck --- buildtool/polly/grammar.lark | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildtool/polly/grammar.lark b/buildtool/polly/grammar.lark index b9f239c..d795165 100644 --- a/buildtool/polly/grammar.lark +++ b/buildtool/polly/grammar.lark @@ -31,7 +31,7 @@ range_anchor: "@$" IDENTIFIER STRING: /"([^"\\]|\\.)*"/ RAW_STRING: /'[^']*'/ -LONG_STRING: /<<\s*(?P[^\n]+)\n.*\n(?P=terminator)/s +LONG_STRING: /<<\s*(?P[^\n]+)\n.*?\n(?P=terminator)/s LINE_NUMBER: /ln\d+/ CHAR_INDEX: /ch\d+/ LINE_COLUMN: /ln\d+c\d+/