Boost logo

Boost-Commit :

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


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

Log:
Spirit: fixed problem in lexertl library
Text files modified:
   trunk/boost/spirit/home/lex/lexer/lexertl/lexer.hpp | 8 ++++----
   1 files changed, 4 insertions(+), 4 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 15:06:16 EDT (Thu, 04 Jun 2009)
@@ -286,8 +286,8 @@
         {
             add_state(state);
             initialized_dfa_ = false;
-// rules_.add("*", tokset.get_rules(), state);
- rules_.add(state, tokset.get_rules());
+ rules_.add("*", tokset.get_rules(), state);
+// rules_.add(state, tokset.get_rules());
         }
 
         // Allow to associate a whole lexer instance with another lexer
@@ -300,8 +300,8 @@
         {
             add_state(state);
             initialized_dfa_ = false;
-// rules_.add("*", lexer_def.get_rules(), state);
- rules_.add(state, tokset.get_rules());
+ 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