We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently the parser does not support new-line separation for message constant field due to that only check for:
self.tokenizer.next_symbol_if_in(&[',', ';'])?;
Additionally, extra separator without field definition will also give an error.
Test data:
option (blabla) = { foo: bar baz: bur boo: biz };
option (blabla) = { foo: bar, baz: bur, boo: biz, };
rust-protobuf/protobuf-parse/src/pure/parser.rs
Lines 381 to 390 in a542121
Error:
Caused by: 0: error in `<stripped>.proto`: at <stripped>:3: While parsing message constant, expecting char `}` 1: at <stripped>:3: While parsing message constant, expecting char `}` 2: While parsing message constant, expecting char `}`
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Currently the parser does not support new-line separation for message constant field due to that only check for:
self.tokenizer.next_symbol_if_in(&[',', ';'])?;
Additionally, extra separator without field definition will also give an error.
Test data:
rust-protobuf/protobuf-parse/src/pure/parser.rs
Lines 381 to 390 in a542121
Error:
The text was updated successfully, but these errors were encountered: