#2108 [RFE] Support C/C++ style comments in INI file parsing
Closed: Fixed None Opened 10 years ago by dpal.

Right now parser does not support / / and // style comments.
Only ; and #.

Allow specifying / / and // as comments however:

a. If / or // is not in the first position there will be an error
b. If
/ is not at the end of the line there will be an error

This means that:

key = value // comment   <= will result in comment being a part of value, no error
key = value /* */        <= will result in comment being a part of value no error
key = value /*           <= will result in parsing error
*/
/*
*/ key = value           <= will result in parsing error

Fields changed

milestone: Tools 1.1 => ding-libs - Oct 2013

Fields changed

patch: 0 => 1

commit: 057550e

resolution: => fixed
status: new => closed

Metadata Update from @dpal:
- Issue set to the milestone: ding-libs - Oct 2013

7 years ago

Log in to comment on this ticket.

Metadata