Opened 9 years ago
Closed 5 years ago
#9924 closed Bugs (wontfix)
"debug" can not be used as rule name
Reported by: | Owned by: | Joel de Guzman | |
---|---|---|---|
Milestone: | To Be Determined | Component: | spirit |
Version: | Boost 1.54.0 | Severity: | Problem |
Keywords: | Cc: |
Description
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.
Change History (2)
comment:1 by , 5 years ago
comment:2 by , 5 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
I would consider this as wontfix, because:
debug
on rules in their codeBOOST_SPIRIT_DEBUG_NODE
without ADL will be unnecessary complexity