Status: New
Owner: [email protected]
Labels: Type-Defect Priority-Medium

New issue 314 by [email protected]: need to give a tag for all repeated booleans?
http://code.google.com/p/protobuf/issues/detail?id=314

What steps will reproduce the problem?
1. extract from the message definition in the *.proto file
message LithologyProperty_GMT {
    required string lithology = 1;
    required PropertyType property = 2;
optional ProbabilityDistributionFunction_GMT ProbabilityDistributionFunction = 3;
    optional bool fixed = 4 [ default = false];  // moveable field
    optional int32 index_voxet_key = 5;  // index field
// bool array list to indicate possible formation below current formation
    //  a normal pile ordering is achieved with "trues" in the top triangle
// an overturned pile ordering is achieved with "trues" in the lower triangle optional ctm.RepeatedBool preserve = 6; // PreserveVerticalRelationship, current
}
2. ASCII file that I wish to parse
LithologyProperty {lithology:"h_CAMBRIAN";property: Susceptibility;ProbabilityDistributionFunction {type:LogNormal;mean: 0.0009; stddev: 0.00004;}
        preserve: {node:0;0;0;1;1;1;1;1;1;1;}}

I expect to be able to avoid using the tag for each repeated instance?

What do you see instead?
Parse error, as I cannot guess which way to do it.

What version of the product are you using?
2.4 On what operating system?  Vista


Please provide any additional information below.


--
You received this message because you are subscribed to the Google Groups "Protocol 
Buffers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.

Reply via email to