Skip to content

Conversation

@alexander-fenster
Copy link
Contributor

Some proto packages are pretty long, and some proto formatters might split them into multiple lines in a weird way, like here:

https://github.com/googleapis/googleapis/blob/master/google/ads/googleads/v13/common/asset_set_types.proto#L176-L177

  google.ads.googleads.v13.enums.LocationStringFilterTypeEnum
      .LocationStringFilterType filter_type = 2;

The parser expects the whole type name to be just one token, and fails to parse this. I'm fixing the parser to accept multiple tokens as the type name: keep glueing tokens together while there are periods that separate parts of the type name.

@alexander-fenster alexander-fenster requested a review from bcoe March 22, 2023 19:27
@alexander-fenster
Copy link
Contributor Author

Parser changes are scary, so if anyone from the community could review this, I would be grateful :) I will hold off merging for a day or two in hope someone else takes a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants