Parser
- Modified ::getWords to look at all nodes, including parents.
This commit is contained in:
@@ -797,7 +797,7 @@ const std::vector <std::string> Parser::getWords () const
|
||||
{
|
||||
std::vector <std::string> words;
|
||||
std::vector <Tree*> nodes;
|
||||
collect (nodes, collectTerminated);
|
||||
collect (nodes, collectAll);
|
||||
std::vector <Tree*>::iterator i;
|
||||
for (i = nodes.begin (); i != nodes.end (); ++i)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user