|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r52690 - trunk/boost/spirit/home/lex/lexer
From: hartmut.kaiser_at_[hidden]
Date: 2009-04-30 21:13:00
Author: hkaiser
Date: 2009-04-30 21:12:59 EDT (Thu, 30 Apr 2009)
New Revision: 52690
URL: http://svn.boost.org/trac/boost/changeset/52690
Log:
Spirit.Lex: Added token_set::state() function
Text files modified:
trunk/boost/spirit/home/lex/lexer/token_set.hpp | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
Modified: trunk/boost/spirit/home/lex/lexer/token_set.hpp
==============================================================================
--- trunk/boost/spirit/home/lex/lexer/token_set.hpp (original)
+++ trunk/boost/spirit/home/lex/lexer/token_set.hpp 2009-04-30 21:12:59 EDT (Thu, 30 Apr 2009)
@@ -231,6 +231,8 @@
adder add;
pattern_adder add_pattern;
+ std::size_t state() const { return token_state; }
+
private:
mutable std::size_t token_state;
};
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