Boost logo

Boost-Commit :

From: hartmut.kaiser_at_[hidden]
Date: 2008-02-26 17:36:37


Author: hkaiser
Date: 2008-02-26 17:36:36 EST (Tue, 26 Feb 2008)
New Revision: 43419
URL: http://svn.boost.org/trac/boost/changeset/43419

Log:
Fixed a compilation problem on pathscale
Text files modified:
   trunk/boost/wave/grammars/cpp_chlit_grammar.hpp | 4 +++-
   trunk/boost/wave/grammars/cpp_intlit_grammar.hpp | 6 ++++--
   2 files changed, 7 insertions(+), 3 deletions(-)

Modified: trunk/boost/wave/grammars/cpp_chlit_grammar.hpp
==============================================================================
--- trunk/boost/wave/grammars/cpp_chlit_grammar.hpp (original)
+++ trunk/boost/wave/grammars/cpp_chlit_grammar.hpp 2008-02-26 17:36:36 EST (Tue, 26 Feb 2008)
@@ -161,7 +161,9 @@
         definition(chlit_grammar const &self)
         {
             using namespace boost::spirit;
- using namespace phoenix;
+ using phoenix::var;
+ using phoenix::val;
+ using phoenix::arg1;
             
             // special parsers for '\x..' and L'\x....'
             typedef uint_parser<

Modified: trunk/boost/wave/grammars/cpp_intlit_grammar.hpp
==============================================================================
--- trunk/boost/wave/grammars/cpp_intlit_grammar.hpp (original)
+++ trunk/boost/wave/grammars/cpp_intlit_grammar.hpp 2008-02-26 17:36:36 EST (Tue, 26 Feb 2008)
@@ -90,11 +90,13 @@
         definition(intlit_grammar const &self)
         {
             using namespace boost::spirit;
- using namespace phoenix;
+ using phoenix::var;
+ using phoenix::arg1;
+
             
             int_lit = (
                     sub_int_lit =
- ( ch_p('0')[self.val = 0] >> (hex_lit | oct_lit)
+ ( ch_p('0')[self.val = 0] >> (hex_lit | oct_lit)
                         | dec_lit
                         )
>> !as_lower_d[


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