Skip to content

Commit

Permalink
Update protoc.js
Browse files Browse the repository at this point in the history
  • Loading branch information
lutzroeder committed May 7, 2023
1 parent afe60e1 commit 9bf6e7f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/protoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ protoc.Parser = class {

constructor(text, file, root) {
this._context = root;
this._tokenizer = new protoc.Parser.Tokenizer(text, file);
this._tokenizer = new protoc.Tokenizer(text, file);
this._head = true;
this._imports = [];
this._weakImports = [];
Expand Down Expand Up @@ -922,7 +922,7 @@ protoc.Parser = class {
}
};

protoc.Parser.Tokenizer = class {
protoc.Tokenizer = class {

constructor(text, file) {
this._text = text;
Expand Down Expand Up @@ -1087,7 +1087,7 @@ protoc.Parser.Tokenizer = class {
this._position = re.lastIndex;
this.push(this._delimiter);
this._delimiter = null;
return protoc.Parser.Tokenizer._unescape(match[1]);
return protoc.Tokenizer._unescape(match[1]);
}

_readError(message) {
Expand Down

0 comments on commit 9bf6e7f

Please sign in to comment.