|
Boost-Commit : |
From: hartmut.kaiser_at_[hidden]
Date: 2008-04-26 21:44:31
Author: hkaiser
Date: 2008-04-26 21:44:31 EDT (Sat, 26 Apr 2008)
New Revision: 44798
URL: http://svn.boost.org/trac/boost/changeset/44798
Log:
Spirit.Lex: fixed some gcc 4.3 warnings.
Text files modified:
trunk/boost/spirit/home/support/detail/lexer/parser/parser.hpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Modified: trunk/boost/spirit/home/support/detail/lexer/parser/parser.hpp
==============================================================================
--- trunk/boost/spirit/home/support/detail/lexer/parser/parser.hpp (original)
+++ trunk/boost/spirit/home/support/detail/lexer/parser/parser.hpp 2008-04-26 21:44:31 EDT (Sat, 26 Apr 2008)
@@ -243,7 +243,7 @@
node_ptr_vector &node_ptr_vector_, tree_node_stack &tree_node_stack_)
{
assert (handle_.top ()._type == token::SUB &&
- handle_.size () == 1 || handle_.size () == 2);
+ (handle_.size () == 1 || handle_.size () == 2));
if (handle_.size () == 1)
{
@@ -262,7 +262,7 @@
static void repeat (token_stack &handle_, token_stack &token_stack_)
{
assert (handle_.top ()._type == token::REPEAT &&
- handle_.size () >= 1 && handle_.size () <= 3);
+ (handle_.size () >= 1 && handle_.size () <= 3));
if (handle_.size () == 1)
{
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