Opened 10 years ago

Last modified 10 years ago

#8064 new Feature Requests

Comment handling in <boost/property_tree/ini_parser.hpp>

Reported by: stefan.jenisch@… Owned by: Sebastian Redl
Milestone: To Be Determined Component: property_tree
Version: Boost 1.53.0 Severity: Optimization
Keywords: Cc:

Description

Hello!

I'd like to propose a patch to the ini_parser.hpp which allowes to handle inline comments like:

key=0.55 ;this comment describing "key" would result in an exception when using read_ini()

Patch is attached to this ticket.

Attachments (1)

ini_parser.patch (1.1 KB ) - added by stefan.jenisch@… 10 years ago.
patch to allow inline comments in ini_parser.hpp

Download all attachments as: .zip

Change History (2)

by stefan.jenisch@…, 10 years ago

Attachment: ini_parser.patch added

patch to allow inline comments in ini_parser.hpp

comment:1 by stefan.jenisch@…, 10 years ago

A little error I just noticed: Line 14 of the patch is unnecessary!

Regards,

Stefan J.

Note: See TracTickets for help on using tickets.