Switch the special node parser over to the older, better-documented version of Boost.Spirit

This commit is contained in:
2015-01-10 02:38:12 -05:00
parent 9a19db553f
commit 2e0c994b9b
3 changed files with 64 additions and 73 deletions

View File

@@ -393,7 +393,8 @@ const node_properties_t& operator* (eSpecType t) {
}
std::string node_properties_t::opcode() const {
return get_str("specials-opcodes", int(self) + 1);
if(self == eSpecType::NONE) return "nop";
return get_str("specials-opcodes", int(self));
}
static std::string get_node_string(std::string base, eSpecType type, int which) {