It's a feature. This has always been allowed. No one really knows why.
On Fri, Feb 18, 2011 at 9:53 AM, naderp paul.na...@gmail.com wrote:
Hi,
Given the following .proto definition:
message person {
required string name = 1;
required int32 id = 2;
}
I noticed the following
Hi,
Given the following .proto definition:
message person {
required string name = 1;
required int32 id = 2;
}
I noticed the following message syntax is valid:
person: {
name: fred
id: 3
}
i.e., the generated parser will quite happily accept a colon after the
compound message name