My grammar is almost ready. So now I am beginning to throw real input
at it, which unfortunately produces some unexpected parse failures. So
off I go, and #define BOOST_SPIRIT_X3_DEBUG. I am getting a compile
error (attached). The parser compiles without X3_DEBUG defined.
I am seeing Attribute and Attribute_, while Attribute_ is a
std::vector<Attribute>. I am wondering, is this a corner-case not
handled in the debug code, or is there some subtle problem with my usage
of X3? Unfortunately, I didn't manage to isolate the case into a small
file yet. Since this error message doesn't ring a bell at all, I am
hoping some of you might have an idea what could be wrong.
Code is on github.com/mlang/bmc in x3 branch. Since X3 isn't released
yet, you need to fiddle with the include paths to get x3_tests to
compile. I haven't committed the X3_DEBUG stuff yet, since it doesn't