Skip to content

Commit

Permalink
Tweak generated code to fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
eirikur-grid committed Dec 27, 2022
1 parent 655d2a2 commit 9e5cb39
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion runtime/JavaScript/spec/generatedCode/abc.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default class abc extends antlr4.Lexer {

constructor(input) {
super(input)
this._interp = new antlr4.atn.LexerATNSimulator(this, atn, decisionsToDFA, new antlr4.PredictionContextCache());
this._interp = new antlr4.atn.LexerATNSimulator(this, atn, decisionsToDFA, new antlr4.atn.PredictionContextCache());
}

get atn() {
Expand Down
2 changes: 1 addition & 1 deletion runtime/JavaScript/spec/generatedCode/calc.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export default class calc extends antlr4.Lexer {

constructor(input) {
super(input)
this._interp = new antlr4.atn.LexerATNSimulator(this, atn, decisionsToDFA, new antlr4.PredictionContextCache());
this._interp = new antlr4.atn.LexerATNSimulator(this, atn, decisionsToDFA, new antlr4.atn.PredictionContextCache());
}

get atn() {
Expand Down

0 comments on commit 9e5cb39

Please sign in to comment.