All,

I'm currently working on a protobuf implementation for Smalltalk. While 
working on the parser I hit an issue where I'm unsure about the semantics 
of options. E.g:

enum EnumDigits {
  option option1 = true;
  ZERO = 0;
  option option2 = true;
  ONE = 1;
  TWO = 2;
}

Do both options apply to the EnumDigits enum? Or does option1 apply to 
EnumDigits and option2 to ONE (or ZERO?!?)? Would the following be a valid 
transform (semantically)?

enum EnumDigits {
  option option1 = true;
  option option2 = true;
  ZERO = 0;
  ONE = 1;
  TWO = 2;
}

Best Regards,

Udo

-- 
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 protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to