Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r52191 - trunk/boost/spirit/home/lex/lexer/lexertl
From: jamin.hanson_at_[hidden]
Date: 2009-04-05 08:43:32


Author: ben_hanson
Date: 2009-04-05 08:43:31 EDT (Sun, 05 Apr 2009)
New Revision: 52191
URL: http://svn.boost.org/trac/boost/changeset/52191

Log:
Use data() accessor.
Text files modified:
   trunk/boost/spirit/home/lex/lexer/lexertl/iterator_tokenizer.hpp | 12 ++++++------
   1 files changed, 6 insertions(+), 6 deletions(-)

Modified: trunk/boost/spirit/home/lex/lexer/lexertl/iterator_tokenizer.hpp
==============================================================================
--- trunk/boost/spirit/home/lex/lexer/lexertl/iterator_tokenizer.hpp (original)
+++ trunk/boost/spirit/home/lex/lexer/lexertl/iterator_tokenizer.hpp 2009-04-05 08:43:31 EDT (Sun, 05 Apr 2009)
@@ -104,10 +104,10 @@
             if (start_token_ == end_) return 0;
 
         again:
- std::size_t const* lookup_ = &state_machine_._lookup[dfa_state_]->
+ std::size_t const* lookup_ = &state_machine_.data()._lookup[dfa_state_]->
                 front ();
- std::size_t dfa_alphabet_ = state_machine_._dfa_alphabet[dfa_state_];
- std::size_t const* dfa_ = &state_machine_._dfa[dfa_state_]->front ();
+ std::size_t dfa_alphabet_ = state_machine_.data()._dfa_alphabet[dfa_state_];
+ std::size_t const* dfa_ = &state_machine_.data()._dfa[dfa_state_]->front ();
             std::size_t const* ptr_ = dfa_ + dfa_alphabet_;
             Iterator curr_ = start_token_;
             bool end_state_ = *ptr_ != 0;
@@ -196,9 +196,9 @@
         {
             if (start_token_ == end_) return 0;
 
- std::size_t const* lookup_ = &state_machine_._lookup[0]->front();
- std::size_t dfa_alphabet_ = state_machine_._dfa_alphabet[0];
- std::size_t const* dfa_ = &state_machine_._dfa[0]->front ();
+ std::size_t const* lookup_ = &state_machine_.data()._lookup[0]->front();
+ std::size_t dfa_alphabet_ = state_machine_.data()._dfa_alphabet[0];
+ std::size_t const* dfa_ = &state_machine_.data()._dfa[0]->front ();
             std::size_t const* ptr_ = dfa_ + dfa_alphabet_;
             Iterator curr_ = start_token_;
             bool end_state_ = *ptr_ != 0;


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