#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

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

Fields changed

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

Fields changed

patch: 0 => 1

Fields changed

patch: 0 => 1

Fields changed

patch: 0 => 1

commit: 057550eedb7560d2ae26fe6514cecb409e29867e

resolution: => fixed
status: new => closed

commit: 057550eedb7560d2ae26fe6514cecb409e29867e

resolution: => fixed
status: new => closed

commit: 057550eedb7560d2ae26fe6514cecb409e29867e

resolution: => fixed
status: new => closed

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

7 years ago

SSSD is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in SSSD's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/SSSD/sssd/issues/3150

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Login to comment on this ticket.

Metadata