Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r78524 - trunk/boost/spirit/home/support/char_encoding/unicode
From: joel_at_[hidden]
Date: 2012-05-20 21:17:34


Author: djowel
Date: 2012-05-20 21:17:33 EDT (Sun, 20 May 2012)
New Revision: 78524
URL: http://svn.boost.org/trac/boost/changeset/78524

Log:
Big fix allowing "script" greater that 63
Text files modified:
   trunk/boost/spirit/home/support/char_encoding/unicode/query.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/spirit/home/support/char_encoding/unicode/query.hpp
==============================================================================
--- trunk/boost/spirit/home/support/char_encoding/unicode/query.hpp (original)
+++ trunk/boost/spirit/home/support/char_encoding/unicode/query.hpp 2012-05-20 21:17:33 EDT (Sun, 20 May 2012)
@@ -284,7 +284,7 @@
 
     inline properties::script get_script(::boost::uint32_t ch)
     {
- return static_cast<properties::script>(detail::script_lookup(ch) & 0x3F);
+ return static_cast<properties::script>(detail::script_lookup(ch) & 0x7F);
     }
 
     inline ::boost::uint32_t to_lowercase(::boost::uint32_t ch)


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