File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ Big picture:
10
10
11
11
Language Improvements:
12
12
13
+ - fix(js) Prevent long series of /////// from causing freezes (#2656 ) [ Josh Goebel] [ ]
13
14
- enh(csharp) Add ` init ` and ` record ` keywords for C# 9.0 (#2660 ) [ Youssef Victor] [ ]
14
15
- enh(matlab) Add new R2019b ` arguments ` keyword and fix ` enumeration ` keyword (#2619 ) [ Andrew Janke] [ ]
15
16
- fix(kotlin) Remove very old keywords and update example code (#2623 ) [ kageru] [ ]
Original file line number Diff line number Diff line change @@ -164,7 +164,7 @@ export default function(hljs) {
164
164
regex . lookahead ( regex . concat (
165
165
// we also need to allow for multiple possible comments inbetween
166
166
// the first key:value pairing
167
- / ( ( ( \/ \/ .* ) | ( \/ \* ( .| \n ) * \* \/ ) ) \s * ) * / ,
167
+ / ( ( ( \/ \/ .* $ ) | ( \/ \* ( .| \n ) * \* \/ ) ) \s * ) * / ,
168
168
IDENT_RE + '\\s*:' ) ) ) ,
169
169
relevance : 0 ,
170
170
contains : [
You can’t perform that action at this time.
0 commit comments