Subject: [Boost-bugs] [Boost C++ Libraries] #6426: Guess I found a bug in boost::spirit
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-01-20 07:28:23
#6426: Guess I found a bug in boost::spirit
----------------------------------------+-----------------------------------
Reporter: truthfinder@⦠| Owner: djowel
Type: Bugs | Status: new
Milestone: To Be Determined | Component: spirit
Version: Boost 1.48.0 | Severity: Problem
Keywords: spirit bug grammar problem |
----------------------------------------+-----------------------------------
I took gramma from
http://tools.ietf.org/html/rfc5545#section-3.6.5 from 3.1. Content Lines
http://tools.ietf.org/html/rfc2234 WSP, ALPHA, DIGIT etc
http://tools.ietf.org/html/rfc3629 UTF8-2, UTF8-3, UTF8-4, UTF-tail
param-value = paramtext / quoted-string // here is the problem
Input string 'ORGANIZER;CN="Test":test_at_[hidden]\r\n' can't be parsed, but
it can when I use
param-value = quoted-string / paramtext // just a little swap
Tested on boost 1.37, 1.48. Also I added testing sample.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/6426> 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:08 UTC