|
Boost-Commit : |
From: hartmut.kaiser_at_[hidden]
Date: 2008-04-16 19:17:24
Author: hkaiser
Date: 2008-04-16 19:17:24 EDT (Wed, 16 Apr 2008)
New Revision: 44478
URL: http://svn.boost.org/trac/boost/changeset/44478
Log:
Spirit V2: Fixed more regression problems.
Text files modified:
trunk/boost/spirit/home/lex/lexer/lexertl/lexertl_functor.hpp | 2 +-
trunk/libs/spirit/test/karma/real_numerics.cpp | 9 ---------
trunk/libs/spirit/test/qi/tst.cpp | 4 ++--
3 files changed, 3 insertions(+), 12 deletions(-)
Modified: trunk/boost/spirit/home/lex/lexer/lexertl/lexertl_functor.hpp
==============================================================================
--- trunk/boost/spirit/home/lex/lexer/lexertl/lexertl_functor.hpp (original)
+++ trunk/boost/spirit/home/lex/lexer/lexertl/lexertl_functor.hpp 2008-04-16 19:17:24 EDT (Wed, 16 Apr 2008)
@@ -231,7 +231,7 @@
public:
lexertl_functor()
#if 0 != __DECCXX_VER || BOOST_INTEL_CXX_VERSION > 900 || defined(__PGI)
- , eof()
+ : eof()
#endif // 0 != __DECCXX_VER
{}
Modified: trunk/libs/spirit/test/karma/real_numerics.cpp
==============================================================================
--- trunk/libs/spirit/test/karma/real_numerics.cpp (original)
+++ trunk/libs/spirit/test/karma/real_numerics.cpp 2008-04-16 19:17:24 EDT (Wed, 16 Apr 2008)
@@ -65,15 +65,6 @@
};
///////////////////////////////////////////////////////////////////////////////
-// this is a workaround for the missing lround for the real_concept type
-long lround(boost::math::concepts::real_concept n)
-{
- if (n >= 0)
- return boost::math::tools::real_cast<long>(n + 0.5);
- return boost::math::tools::real_cast<long>(n - 0.5);
-}
-
-///////////////////////////////////////////////////////////////////////////////
// We need to specialize is_real_lit_tag to allow to use a real_concept as a
// literal below
namespace boost { namespace spirit
Modified: trunk/libs/spirit/test/qi/tst.cpp
==============================================================================
--- trunk/libs/spirit/test/qi/tst.cpp (original)
+++ trunk/libs/spirit/test/qi/tst.cpp 2008-04-16 19:17:24 EDT (Wed, 16 Apr 2008)
@@ -5,8 +5,8 @@
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
=============================================================================*/
#include <boost/detail/lightweight_test.hpp>
-#include <boost/spirit/qi/string/tst.hpp>
-#include <boost/spirit/qi/string/tst_map.hpp>
+#include <boost/spirit/home/qi/string/tst.hpp>
+#include <boost/spirit/home/qi/string/tst_map.hpp>
#include <string>
#include <cctype>
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