diff options
author | Jonas Herzig <me@johni0702.de> | 2022-05-27 08:46:47 +0200 |
---|---|---|
committer | Jonas Herzig <me@johni0702.de> | 2022-05-27 08:55:50 +0200 |
commit | 5504b2ff877609d3800d5fce4fbc36a3b01911a5 (patch) | |
tree | fdc4da602d2604eab6f63acd7703b856cfa3d776 /src/main/kotlin/com | |
parent | cde89808e3d9730fe784597bd6bbfc51753663a1 (diff) | |
download | Remap-5504b2ff877609d3800d5fce4fbc36a3b01911a5.tar.gz Remap-5504b2ff877609d3800d5fce4fbc36a3b01911a5.tar.bz2 Remap-5504b2ff877609d3800d5fce4fbc36a3b01911a5.zip |
Fix nested pattern matching
Diffstat (limited to 'src/main/kotlin/com')
-rw-r--r-- | src/main/kotlin/com/replaymod/gradle/remap/PsiPattern.kt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/kotlin/com/replaymod/gradle/remap/PsiPattern.kt b/src/main/kotlin/com/replaymod/gradle/remap/PsiPattern.kt index c1cdf0f..8573560 100644 --- a/src/main/kotlin/com/replaymod/gradle/remap/PsiPattern.kt +++ b/src/main/kotlin/com/replaymod/gradle/remap/PsiPattern.kt @@ -18,9 +18,8 @@ internal class PsiPattern( val matcher = Matcher(element) if (matcher.match(pattern)) { result.add(matcher) - } else { - super.visitElement(element) } + super.visitElement(element) } }) } |