Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5656: Support options without '='
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-12-03 16:58:54
#5656: Support options without '='
-----------------------------------+----------------------------------------
Reporter: olafvdspek@⦠| Owner: vladimir_prus
Type: Feature Requests | Status: new
Milestone: Boost 1.48.0 | Component: program_options
Version: Boost 1.46.1 | Severity: Problem
Resolution: | Keywords:
-----------------------------------+----------------------------------------
Comment (by uniwangshan@â¦):
I second this request. I'm trying to replace a 3rd party parsing library
using boost::program_options, but the original config has comments
starting with ; rather than #.
for example:
; this is a comment
Because program_options hardcoded # as comment and won't allow any line
without = except sections, I had to abort this plan.
It would be much better to ignore weird looking lines rather than stop the
whole parsing.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/5656#comment:3> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:11 UTC