From 41913a8d448f4f95a7819bfbc90ddf17b97cd84e Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Sat, 6 Dec 2025 13:54:14 +0100 Subject: feat(bash): update parser Breaking change: removed double parenthesis as valid opening to arithmetic expansion. (Only `$((` is allowed according to the manual.) --- tests/query/highlights/bash/double-parens.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests') diff --git a/tests/query/highlights/bash/double-parens.sh b/tests/query/highlights/bash/double-parens.sh index 8d841d170..7f9209713 100644 --- a/tests/query/highlights/bash/double-parens.sh +++ b/tests/query/highlights/bash/double-parens.sh @@ -1,6 +1,6 @@ -if (( $(tree-sitter parse test/Petalisp/**/*.lisp -q | wc -l) > 2 )); then -# ^ @punctuation.special -# ^ @punctuation.special -# ^ @punctuation.bracket +if $(( $(tree-sitter parse test/Petalisp/**/*.lisp -q | wc -l) > 2 )); then +# ^ @punctuation.special +# ^ @punctuation.special +# ^ @punctuation.bracket exit 1 fi -- cgit v1.2.3-70-g09d2