|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r60220 - trunk/libs/spirit/test/qi
From: joel_at_[hidden]
Date: 2010-03-05 19:19:13
Author: djowel
Date: 2010-03-05 19:19:12 EST (Fri, 05 Mar 2010)
New Revision: 60220
URL: http://svn.boost.org/trac/boost/changeset/60220
Log:
tweaks
Text files modified:
trunk/libs/spirit/test/qi/encoding.cpp | 3 ++-
trunk/libs/spirit/test/qi/rule.cpp | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
Modified: trunk/libs/spirit/test/qi/encoding.cpp
==============================================================================
--- trunk/libs/spirit/test/qi/encoding.cpp (original)
+++ trunk/libs/spirit/test/qi/encoding.cpp 2010-03-05 19:19:12 EST (Fri, 05 Mar 2010)
@@ -29,8 +29,9 @@
using boost::spirit::qi::no_case;
using boost::spirit::qi::char_;
using boost::spirit::qi::encoding;
+ namespace char_encoding = boost::spirit::char_encoding;
- encoding<boost::spirit::char_encoding::iso8859_1> iso8859_1;
+ encoding<char_encoding::iso8859_1> iso8859_1;
// needed for VC7.1 only
#if BOOST_WORKAROUND(BOOST_MSVC, BOOST_TESTED_AT(1310))
Modified: trunk/libs/spirit/test/qi/rule.cpp
==============================================================================
--- trunk/libs/spirit/test/qi/rule.cpp (original)
+++ trunk/libs/spirit/test/qi/rule.cpp 2010-03-05 19:19:12 EST (Fri, 05 Mar 2010)
@@ -433,7 +433,7 @@
r = no_case[char_('á')];
BOOST_TEST(test("Á", r));
- r = no_case[no_case[char_("å-ï")]];
+ r = no_case[char_("å-ï")];
BOOST_TEST(test("É", r));
BOOST_TEST(!test("ÿ", r));
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