Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r56525 - trunk/boost/spirit/home/qi/numeric/detail
From: hartmut.kaiser_at_[hidden]
Date: 2009-10-02 14:32:59


Author: hkaiser
Date: 2009-10-02 14:32:58 EDT (Fri, 02 Oct 2009)
New Revision: 56525
URL: http://svn.boost.org/trac/boost/changeset/56525

Log:
Spirit: fixed a problem in Qi real_impl preventing to use an integral type as an attribute to a floating point parser.
Text files modified:
   trunk/boost/spirit/home/qi/numeric/detail/real_impl.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/spirit/home/qi/numeric/detail/real_impl.hpp
==============================================================================
--- trunk/boost/spirit/home/qi/numeric/detail/real_impl.hpp (original)
+++ trunk/boost/spirit/home/qi/numeric/detail/real_impl.hpp 2009-10-02 14:32:58 EDT (Fri, 02 Oct 2009)
@@ -141,7 +141,7 @@
             bool neg = p.parse_sign(first, last);
 
             // Now attempt to parse an integer
- Attribute n = 0;
+ T n = 0;
             bool got_a_number = p.parse_n(first, last, n);
 
             // If we did not get a number it might be a NaN, Inf or a leading


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