Hello,
I think there's a typo in the v2 spec, re: Field Names Reserved Statement.
Consider:
ident = letter { letter | decimalDigit | "_" }
fieldName = ident
reserved = "reserved" ( ranges | fieldNames ) ";"
fieldNames = fieldName { "," fieldName }
In the case of a list of Field Names, I do not see any reference to any
enclosed quotes. However, in the examples in both the specification as well
as the language guide, there are quotes.
message Foo {
reserved 2, 15, 9 to 11;
reserved "foo", "bar";
}
reserved "foo", "bar";
Thoughts? I just wanted to mention that, I think this is a typo. It makes
sense to me that these are literally Identifiers. But if there are
different thoughts?
Cheers,
Michael W Powell
https://developers.google.com/protocol-buffers/docs/reference/proto2-spec#reserved
https://developers.google.com/protocol-buffers/docs/proto#reserved
https://developers.google.com/protocol-buffers/docs/reference/proto2-spec
https://developers.google.com/protocol-buffers/docs/proto
--
You received this message because you are subscribed to the Google Groups
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.