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), '}', ),