Skip to content

Commit 9bf6e7f

Browse files
committed
Update protoc.js
1 parent afe60e1 commit 9bf6e7f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tools/protoc.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ protoc.Parser = class {
391391

392392
constructor(text, file, root) {
393393
this._context = root;
394-
this._tokenizer = new protoc.Parser.Tokenizer(text, file);
394+
this._tokenizer = new protoc.Tokenizer(text, file);
395395
this._head = true;
396396
this._imports = [];
397397
this._weakImports = [];
@@ -922,7 +922,7 @@ protoc.Parser = class {
922922
}
923923
};
924924

925-
protoc.Parser.Tokenizer = class {
925+
protoc.Tokenizer = class {
926926

927927
constructor(text, file) {
928928
this._text = text;
@@ -1087,7 +1087,7 @@ protoc.Parser.Tokenizer = class {
10871087
this._position = re.lastIndex;
10881088
this.push(this._delimiter);
10891089
this._delimiter = null;
1090-
return protoc.Parser.Tokenizer._unescape(match[1]);
1090+
return protoc.Tokenizer._unescape(match[1]);
10911091
}
10921092

10931093
_readError(message) {

0 commit comments

Comments
 (0)