Status: New
Owner: [email protected]
Labels: Type-Defect Priority-Medium
New issue 238 by zyangmath: Support of comment in text format
http://code.google.com/p/protobuf/issues/detail?id=238
In my use case, I hope to use the text format for human read and edit. Most
of the times people will want to add their own comments into the text
files. Unfortunately the current text format DOES NOT support comments in
either C++ style or Shell style.
If we are going to implement comments support, what we need to do is the
following:
1. To the protocol: Support a style of comment in text format, for example,
the Shell style where lines starts with a # are comment lines
2. To the google.protobuf.text_format.Merge: it filters all comments lines
in the ASCII string before actual processing
Is is possible to do that in the official format? Of course I can do it in
my own code by simply adding a filter to the file reader.
--
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.