Skip to content

Commit

Permalink
Merge pull request #328 from slevithan/rm-overlapping-recursion
Browse files Browse the repository at this point in the history
Refactor overlapping recursion for broader compatibility
  • Loading branch information
JoeRobich authored Jan 23, 2025
2 parents 479bfb7 + 62026a7 commit 9d446ab
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions grammars/csharp.tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -6807,10 +6807,10 @@
(
<
(?<type_args>
[^<>()]++|
<\g<type_args>*+>|
\(\g<type_args>*+\)
)*+
[^<>()]|
\((?:[^<>()]|<[^<>()]*>|\([^<>()]*\))*\)|
<\g<type_args>*>
)*
>\s*
)? # type arguments
(?=\() # open paren of argument list</string>
Expand Down
8 changes: 4 additions & 4 deletions grammars/csharp.tmLanguage.cson
Original file line number Diff line number Diff line change
Expand Up @@ -4080,10 +4080,10 @@ repository:
(
<
(?<type_args>
[^<>()]++|
<\\g<type_args>*+>|
\\(\\g<type_args>*+\\)
)*+
[^<>()]|
\\((?:[^<>()]|<[^<>()]*>|\\([^<>()]*\\))*\\)|
<\\g<type_args>*>
)*
>\\s*
)? # type arguments
(?=\\() # open paren of argument list
Expand Down
8 changes: 4 additions & 4 deletions src/csharp.tmLanguage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2593,10 +2593,10 @@ repository:
(
<
(?<type_args>
[^<>()]++|
<\g<type_args>*+>|
\(\g<type_args>*+\)
)*+
[^<>()]|
\((?:[^<>()]|<[^<>()]*>|\([^<>()]*\))*\)|
<\g<type_args>*>
)*
>\s*
)? # type arguments
(?=\() # open paren of argument list
Expand Down

0 comments on commit 9d446ab

Please sign in to comment.