|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r66780 - trunk/libs/spirit/doc
From: hartmut.kaiser_at_[hidden]
Date: 2010-11-26 14:45:02
Author: hkaiser
Date: 2010-11-26 14:44:59 EST (Fri, 26 Nov 2010)
New Revision: 66780
URL: http://svn.boost.org/trac/boost/changeset/66780
Log:
Spirit: doc updates
Text files modified:
trunk/libs/spirit/doc/what_s_new.qbk | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
Modified: trunk/libs/spirit/doc/what_s_new.qbk
==============================================================================
--- trunk/libs/spirit/doc/what_s_new.qbk (original)
+++ trunk/libs/spirit/doc/what_s_new.qbk 2010-11-26 14:44:59 EST (Fri, 26 Nov 2010)
@@ -39,6 +39,12 @@
returned to the user. This could happen in conjunction with a lexer which
performed lexer state changes and was using `pass_fail` in semantic actions
to make a token match fail.
+ * Added `qi::tokenid()` primitive parser allowing to match arbitrary lexer
+ tokens based on a given token id. The difference to `qi::token()` is, that it
+ exposes as its attribute the token id of the matched token (instead of the
+ iterator_range of the matched input, as qi::token() does).
+ * Added additional template parameter to the default `lexertl::token<>`
+ definition: the type of the token id. This type defaults to `std::size_t`.
[endsect] [/ spirit_2_4_2]
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk