Skip to content

Commit ee06e5d

Browse files
committed
переезд на antlr 4.13.1
1 parent 528e206 commit ee06e5d

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ gitVersioning.apply {
4343
val isSnapshot = gitVersioning.gitVersionDetails.refType != GitRefType.TAG
4444

4545
dependencies {
46-
implementation("com.tunnelvisionlabs", "antlr4", "4.9.0")
46+
implementation("org.antlr", "antlr4", "4.13.1")
4747
implementation("com.github.1c-syntax", "utils", "0.5.1")
4848
implementation("commons-io", "commons-io", "2.15.1")
4949
}

src/main/java/com/github/_1c_syntax/bsl/parser/CRAwareLexerATNSimulator.java

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,12 @@
2525
import org.antlr.v4.runtime.Lexer;
2626
import org.antlr.v4.runtime.atn.ATN;
2727
import org.antlr.v4.runtime.atn.LexerATNSimulator;
28+
import org.antlr.v4.runtime.atn.PredictionContextCache;
29+
import org.antlr.v4.runtime.dfa.DFA;
2830

2931
public class CRAwareLexerATNSimulator extends LexerATNSimulator {
30-
public CRAwareLexerATNSimulator(ATN atn) {
31-
super(atn);
32-
}
33-
34-
public CRAwareLexerATNSimulator(Lexer recog, ATN atn) {
35-
super(recog, atn);
32+
public CRAwareLexerATNSimulator(Lexer recog, ATN atn, DFA[] dfas, PredictionContextCache sharedContextCache) {
33+
super(recog, atn, dfas, sharedContextCache);
3634
}
3735

3836
@Override

0 commit comments

Comments
 (0)