On Wed, 5 Aug 2015 at 02:27 Edward Diener
First time posting, so hopefully no grave faux pas!
I have found the Property Tree info format very useful for config files. However, the in-built comment ";" can be a little limiting. In
On 8/4/2015 1:38 PM, Gavin McNiff wrote: particular,
I miss not being able to comment out an entire block. To this end I have being modifying the relevant header to file to allow ; // and -- as inline comments and /* */ as a block comment. These are familiar to many users.
Naturally, with every Boost release I have to re-patch this file, so I thought maybe the info format could be updated to allow comments in these styles. Since the format is not any kind of official format and adding new comment styles should not break existing files, I would hope there should be no major objections.
I have taken the liberty of attaching the updated header file, as well as the adapted test file. The _gmcn suffix is just for identification purposes. The changes in the code are marked with !!! GMcN !!!. The changes pass in the built-in tests and my own usage tests.
Best regards
Gavin McNiff
What would be better for your purposes would be to create a PR request off of the 'develop' branch of property tree. If you have a github account ( its free ) and know how to use git, this should be relatively easy for you to do.
OK. Done
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost