|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r53844 - trunk/boost/spirit/home/support/detail/lexer
From: hartmut.kaiser_at_[hidden]
Date: 2009-06-12 22:23:18
Author: hkaiser
Date: 2009-06-12 22:23:17 EDT (Fri, 12 Jun 2009)
New Revision: 53844
URL: http://svn.boost.org/trac/boost/changeset/53844
Log:
Spirit: Fixed a problem in the new boost::lexer::rules::add_rules function
Text files modified:
trunk/boost/spirit/home/support/detail/lexer/rules.hpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Modified: trunk/boost/spirit/home/support/detail/lexer/rules.hpp
==============================================================================
--- trunk/boost/spirit/home/support/detail/lexer/rules.hpp (original)
+++ trunk/boost/spirit/home/support/detail/lexer/rules.hpp 2009-06-12 22:23:17 EDT (Fri, 12 Jun 2009)
@@ -374,8 +374,8 @@
// If dot_ then lookup state name from rules_; otherwise
// pass name through.
add (dot_ ? rules_.state (state_) : to_, *regex_iter_,
- *id_iter_, rules_.state (*state_iter_), true,
- *uid_iter_);
+ *id_iter_, dot_ ? rules_.state (*state_iter_) : to_,
+ true, *uid_iter_);
}
}
}
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