diff options
| author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 12:00:33 -0600 | 
|---|---|---|
| committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 12:00:33 -0600 | 
| commit | 7e66d7c3611d907ea28b140281b472bb1c406be6 (patch) | |
| tree | d0512bf457c2bfe012f455b42ab78651afb81438 /lib/antlr/src/ASTFactory.cpp | |
| parent | c3b301575a98e4c3505ad95534d6192b65539dab (diff) | |
| download | tdevelop-7e66d7c3611d907ea28b140281b472bb1c406be6.tar.gz tdevelop-7e66d7c3611d907ea28b140281b472bb1c406be6.zip | |
Remove additional unneeded tq method conversions
Diffstat (limited to 'lib/antlr/src/ASTFactory.cpp')
| -rw-r--r-- | lib/antlr/src/ASTFactory.cpp | 10 | 
1 files changed, 5 insertions, 5 deletions
| diff --git a/lib/antlr/src/ASTFactory.cpp b/lib/antlr/src/ASTFactory.cpp index a255ca10..98ce6b7a 100644 --- a/lib/antlr/src/ASTFactory.cpp +++ b/lib/antlr/src/ASTFactory.cpp @@ -217,7 +217,7 @@ RefAST ASTFactory::dupList(RefAST t)  RefAST ASTFactory::dupTree(RefAST t)  {  	RefAST result = dup(t);		// make copy of root -	// copy all tqchildren of root. +	// copy all children of root.  	if( t )  		result->setFirstChild( dupList(t->getFirstChild()) );  	return result; @@ -225,7 +225,7 @@ RefAST ASTFactory::dupTree(RefAST t)  /** Make a tree from a list of nodes.  The first element in the   * array is the root.  If the root is null, then the tree is - * a simple list not a tree.  Handles null tqchildren nodes correctly. + * a simple list not a tree.  Handles null children nodes correctly.   * For example, make(a, b, null, c) yields tree (a b c).  make(null,a,b)   * yields tree (nil a b).   */ @@ -240,7 +240,7 @@ RefAST ASTFactory::make(ANTLR_USE_NAMESPACE(std)vector<RefAST>& nodes)  	if( root )  		root->setFirstChild(RefAST(nullASTptr));	// don't leave any old pointers set -	// link in tqchildren; +	// link in children;  	for( unsigned int i = 1; i < nodes.size(); i++ )  	{  		if ( nodes[i] == 0 )		// ignore null nodes @@ -336,7 +336,7 @@ void ASTFactory::loadChildren( ANTLR_USE_NAMESPACE(std)istream& infile,  {  	char ch; -	for(;;)			// for all tqchildren of this node.... +	for(;;)			// for all children of this node....  	{  		eatwhite(infile); @@ -438,7 +438,7 @@ RefAST ASTFactory::LoadAST( ANTLR_USE_NAMESPACE(std)istream& infile )  	infile.get(ch);  	// now if we have a '/' here it's a single node. If it's a '>' we get -	// a tree with tqchildren +	// a tree with children  	if( ch == '/' )  	{ | 
