Fix hang on block comment after an expression in JavaScript

This commit is contained in:
Navpreet Sidhu committed 2026-10-20 21:31:39 +05:30
1 parent f748c1a467
commit 54b1f9c6af
4 files changed
+21

No files matched your search

+10
View File
@@ -12,3 +12,13 @@ index 05a4fed6..78a7bf55 100644
scope: source.js
variables:
bin_digit: '[01_]'
@@ -93,7 +93,8 @@ variables:
(?! \+\+ | -- )
(?=
!= |
- [-+*/%><=&|^\[(;,.:?] |
+ [-+*%><=&|^\[(;,.:?] |
+ /(?!\*) |
(?:in|instanceof){{identifier_break}}
)
))