|
Boost-Commit : |
From: joel_at_[hidden]
Date: 2008-08-16 19:20:47
Author: djowel
Date: 2008-08-16 19:20:46 EDT (Sat, 16 Aug 2008)
New Revision: 48178
URL: http://svn.boost.org/trac/boost/changeset/48178
Log:
fix #1617
Text files modified:
trunk/libs/spirit/classic/test/mix_and_match_trees.cpp | 6 +++---
trunk/libs/spirit/classic/test/numerics_tests.cpp | 3 ++-
2 files changed, 5 insertions(+), 4 deletions(-)
Modified: trunk/libs/spirit/classic/test/mix_and_match_trees.cpp
==============================================================================
--- trunk/libs/spirit/classic/test/mix_and_match_trees.cpp (original)
+++ trunk/libs/spirit/classic/test/mix_and_match_trees.cpp 2008-08-16 19:20:46 EDT (Sat, 16 Aug 2008)
@@ -54,7 +54,7 @@
typedef rule<ast_scanner> ast_rule;
typedef rule<pt_scanner> pt_rule;
- typedef rule<Scanner> rule;
+ typedef rule<Scanner> rule_;
definition(my_grammar const & /* self */)
{
@@ -62,12 +62,12 @@
start_ = gen_pt_node_d[ pt_rule_ ];
}
- rule const & start() const
+ rule_ const & start() const
{
return start_;
}
- rule start_;
+ rule_ start_;
ast_rule ast_rule_;
pt_rule pt_rule_;
};
Modified: trunk/libs/spirit/classic/test/numerics_tests.cpp
==============================================================================
--- trunk/libs/spirit/classic/test/numerics_tests.cpp (original)
+++ trunk/libs/spirit/classic/test/numerics_tests.cpp 2008-08-16 19:20:46 EDT (Sat, 16 Aug 2008)
@@ -9,8 +9,9 @@
=============================================================================*/
#include <boost/spirit/include/classic_core.hpp>
#include <boost/spirit/include/classic_assign_actor.hpp>
-#include <iostream>
#include <boost/detail/lightweight_test.hpp>
+#include <iostream>
+#include <climits>
using namespace std;
using namespace BOOST_SPIRIT_CLASSIC_NS;
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