Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r52193 - trunk/libs/wave/samples/list_includes/lexertl
From: jamin.hanson_at_[hidden]
Date: 2009-04-05 09:08:34


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

Log:
Use data() accessor on state_machine.
Text files modified:
   trunk/libs/wave/samples/list_includes/lexertl/lexertl_lexer.hpp | 6 +++---
   1 files changed, 3 insertions(+), 3 deletions(-)

Modified: trunk/libs/wave/samples/list_includes/lexertl/lexertl_lexer.hpp
==============================================================================
--- trunk/libs/wave/samples/list_includes/lexertl/lexertl_lexer.hpp (original)
+++ trunk/libs/wave/samples/list_includes/lexertl/lexertl_lexer.hpp 2009-04-05 09:08:34 EDT (Sun, 05 Apr 2009)
@@ -497,10 +497,10 @@
     string_type& token_value)
 {
 #if BOOST_WAVE_LEXERTL_USE_STATIC_TABLES == 0
- size_t const* const lookup = &state_machine_._lookup[0]->front ();
- size_t const dfa_alphabet = state_machine_._dfa_alphabet[0];
+ size_t const* const lookup = &state_machine_.data()._lookup[0]->front ();
+ size_t const dfa_alphabet = state_machine_.data()._dfa_alphabet[0];
 
- size_t const* dfa = &state_machine_._dfa[0]->front();
+ size_t const* dfa = &state_machine_.data()._dfa[0]->front();
     size_t const* ptr = dfa + dfa_alphabet + ::lexertl::dfa_offset;
 #else
     const std::size_t *ptr = dfa + dfa_offset;


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