[Boost-bugs] [Boost C++ Libraries] #9924: "debug" can not be used as rule name

Subject: [Boost-bugs] [Boost C++ Libraries] #9924: "debug" can not be used as rule name
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-04-18 16:52:55


#9924: "debug" can not be used as rule name
------------------------------+---------------------
 Reporter: barade.barade@… | Owner: djowel
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: spirit
  Version: Boost 1.54.0 | Severity: Problem
 Keywords: |
------------------------------+---------------------
 Using Boost Spirit Qi I've been unable to name my rule "debug". The rule
 was defined as attribute of a qi::grammar deriving struct.
 I think it has something to do with:

 ///////////////////////////////////////////////////////////////////////////////
 // Utility macro for easy enabling of rule and grammar debugging
 #if !defined(BOOST_SPIRIT_DEBUG_NODE)
   #if defined(BOOST_SPIRIT_DEBUG) || defined(BOOST_SPIRIT_QI_DEBUG)
     #define BOOST_SPIRIT_DEBUG_NODE(r) r.name(#r); debug(r)
   #else

 defined in "debug_handler.hpp"
 Of course spirit's debugging was enabled.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9924>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:16 UTC