1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

2004-07-30 Alain Magloire

In the StrutureParseCallback add the
		IASTUsingDirective
		IASTUsingDeclaration
	part of the return declarations
	* org/eclipse/cdt/internal/core/parser/ast/StructuralParseCallback.java
This commit is contained in:
Alain Magloire 2004-07-30 19:11:05 +00:00
parent cfb6771929
commit fa38a77470
2 changed files with 16 additions and 0 deletions

View file

@ -1,3 +1,11 @@
2004-07-30 Alain Magloire
In the StrutureParseCallback add the
IASTUsingDirective
IASTUsingDeclaration
part of the return declarations
* org/eclipse/cdt/internal/core/parser/ast/StructuralParseCallback.java
2004-07-07 Andrew Niefer
Symbol Table Refactoring:
- TypeInfo._typeDeclaration is no longer used for forward declarations, instead BasicSymbol._instantiatedSymbol

View file

@ -28,6 +28,7 @@ import org.eclipse.cdt.core.parser.ast.IASTNode;
import org.eclipse.cdt.core.parser.ast.IASTScope;
import org.eclipse.cdt.core.parser.ast.IASTTemplateDeclaration;
import org.eclipse.cdt.core.parser.ast.IASTTypedefDeclaration;
import org.eclipse.cdt.core.parser.ast.IASTUsingDirective;
import org.eclipse.cdt.core.parser.ast.IASTVariable;
import org.eclipse.cdt.internal.core.parser.QuickParseCallback;
import org.eclipse.cdt.internal.core.parser.ast.complete.ASTLinkageSpecification;
@ -113,6 +114,13 @@ public class StructuralParseCallback extends QuickParseCallback{
addElement(typedef);
}
/* (non-Javadoc)
* @see org.eclipse.cdt.core.parser.ISourceElementRequestor#acceptUsingDirective(org.eclipse.cdt.core.parser.ast.IASTUsingDirective)
*/
public void acceptUsingDirective(IASTUsingDirective usageDirective) {
addElement(usageDirective);
}
/* (non-Javadoc)
* @see org.eclipse.cdt.core.parser.ISourceElementRequestor#acceptEnumerationSpecifier(org.eclipse.cdt.core.parser.ast.IASTEnumerationSpecifier)
*/