Concerning Constant, literally from the v2 spec:

syntax = "syntax" "=" quote "proto2" quote ";"

Do I read that correctly you can expect either 'proto2' or "proto2",
but never 'proto2" nor "proto2' ?

If accurate, that just seems to me to be lazy spec authorship...

Thanks!
On Wed, Oct 31, 2018 at 12:07 PM Michael Powell <[email protected]> wrote:
>
> Hello,
>
> I am writing a parser for the Proto language specification starting
> with v2. I need a little help interpreting one of the lines if you
> please:
>
> In the "String literals" section, what does this mean:
>
> charValue = hexEscape | octEscape | charEscape | /[^\0\n\\]/
>
> Specifically, the trailing list of character soup? I want to say that
> there are escaped characters in the sequence? Or am I to take that
> string literally? Or notwithstanding the enclosing forward slashes?
>
> Thanks much in advance!
>
> Best regards,
>
> Michael Powell

-- 
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.

Reply via email to