From adb5507a504ab34233f70f86da98060c1b7fcd91 Mon Sep 17 00:00:00 2001 From: TudbuT Date: Fri, 4 Aug 2023 22:15:15 +0200 Subject: [PATCH] fix @rust functions --- grammar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grammar.js b/grammar.js index 62cc95a..6152b51 100644 --- a/grammar.js +++ b/grammar.js @@ -33,7 +33,7 @@ module.exports = grammar({ $.block, ), block: $ => seq( - '{', optional($._spacing, repeat(seq(/[^ \n\r\t|]+/, $._spacing)), '|'), + optional('!'), '{', optional($._spacing, repeat(seq(/[^ \n\r\t|]+/, $._spacing)), '|'), repeat($._statement), '}', ),