Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix CI failures
  • Loading branch information
mkruskal-google committed May 9, 2024
commit 74f612d3c0af8780ca9e3353c46bd155b1a8c12e
2 changes: 1 addition & 1 deletion src/parse.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ function parse(source, root, options) {
dummy,
function parseRange_block(token) {
/* istanbul ignore else */
if (token === 'option') {
if (token === "option") {
parseOption(dummy, token); // skip
skip(';');
} else
Expand Down
4 changes: 2 additions & 2 deletions tests/data/uncommon.proto
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@ message Test2 {
extend Test;
extend Test{};
extend Test{required int32 a=1;} // not validated by the parser
extend Test{Test a=1000;} // not validated by the parser
extend Test{Test inner_ext=1000;} // not validated by the parser

extensions 1000 to 1999 [declaration = {
number: 1000
full_name: 'uncommon.Test.a'
full_name: 'uncommon.Test.inner_ext'
type: 'uncommon.Test'
}]
};
Expand Down