Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r53635 - trunk/boost/spirit/home/lex/lexer/lexertl
From: hartmut.kaiser_at_[hidden]
Date: 2009-06-04 10:10:19


Author: hkaiser
Date: 2009-06-04 10:10:18 EDT (Thu, 04 Jun 2009)
New Revision: 53635
URL: http://svn.boost.org/trac/boost/changeset/53635

Log:
Spirit: reverted latest lexer change to circumvent hitting current bug in lexertl
Text files modified:
   trunk/boost/spirit/home/lex/lexer/lexertl/lexer.hpp | 6 ++++--
   1 files changed, 4 insertions(+), 2 deletions(-)

Modified: trunk/boost/spirit/home/lex/lexer/lexertl/lexer.hpp
==============================================================================
--- trunk/boost/spirit/home/lex/lexer/lexertl/lexer.hpp (original)
+++ trunk/boost/spirit/home/lex/lexer/lexertl/lexer.hpp 2009-06-04 10:10:18 EDT (Thu, 04 Jun 2009)
@@ -286,7 +286,8 @@
         {
             add_state(state);
             initialized_dfa_ = false;
- rules_.add("*", tokset.get_rules(), state);
+// rules_.add("*", tokset.get_rules(), state);
+ rules_.add(state, tokset.get_rules());
         }
 
         // Allow to associate a whole lexer instance with another lexer
@@ -299,7 +300,8 @@
         {
             add_state(state);
             initialized_dfa_ = false;
- rules_.add("*", lexer_def.get_rules(), state);
+// rules_.add("*", lexer_def.get_rules(), state);
+ rules_.add(state, tokset.get_rules());
         }
 
         // interface for pattern definition management


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