Opened 6 years ago

Closed 4 years ago

#12860 closed Bugs (fixed)

Small inconsistency in documentation

Reported by: alex@… Owned by: Joel de Guzman
Milestone: To Be Determined Component: spirit
Version: Boost 1.63.0 Severity: Cosmetic
Keywords: tutorial documentation Cc:

Description

The sample on page

http://www.boost.org/doc/libs/1_63_0/libs/spirit/doc/html/spirit/qi/tutorials/mini_xml___asts_.html

contains:

"end_tag = "</" >> string(_r1) >> '>' "

While explaination below repeats that as

"end_tag = "</" >> lit(_r1) >> '>'; "

and further explains "Check out how we used lit here, ...".

Regards, Alex

Change History (2)

comment:1 by Nikita Kniazev <nok.raven@…>, 5 years ago

While string is not a problem here, the docs should be consistent.

Nice catch!

comment:2 by Joel de Guzman, 4 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.