- ::findBinary diagnostics.
This commit is contained in:
Paul Beckingham 2014-08-17 12:07:31 -04:00
parent d1e38a7843
commit fbf8550274

View file

@ -338,9 +338,12 @@ void Parser::scan (void (Parser::*callback) (Tree*), Tree* tree /* = NULL */)
}
////////////////////////////////////////////////////////////////////////////////
// Locate and tag the binary.
// Locate and tag the binary. It is assumed that the binary is the first
// argument, which is valid.
void Parser::findBinary ()
{
context.debug ("Parser::findBinary");
if (_tree->_branches.size () >= 1)
{
_tree->_branches[0]->unTag ("?");
@ -364,6 +367,8 @@ void Parser::findBinary ()
_tree->_branches[0]->tag ("TW");
}
}
context.debug (_tree->dump ());
}
////////////////////////////////////////////////////////////////////////////////