mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Patch for Bogdan Gheorghe.
This commit is contained in:
parent
7c632b299c
commit
c55ebd35d1
2 changed files with 7 additions and 3 deletions
|
@ -340,9 +340,10 @@ public class Scanner implements IScanner {
|
|||
handleInclusion( fileName, true, nameOffset, beginOffset, endOffset );
|
||||
}
|
||||
}
|
||||
|
||||
IASTInclusion inclusion = astFactory.createInclusion( fileName, newPath, !useIncludePaths, beginOffset, endOffset, nameOffset );
|
||||
contextStack.updateContext(inclusionReader, newPath, ScannerContext.INCLUSION, inclusion, requestor );
|
||||
if (inclusionReader != null) {
|
||||
IASTInclusion inclusion = astFactory.createInclusion( fileName, newPath, !useIncludePaths, beginOffset, endOffset, nameOffset );
|
||||
contextStack.updateContext(inclusionReader, newPath, ScannerContext.INCLUSION, inclusion, requestor );
|
||||
}
|
||||
}
|
||||
|
||||
// constants
|
||||
|
|
|
@ -900,6 +900,9 @@ public class CompleteParseASTFactory extends BaseASTFactory implements IASTFacto
|
|||
*/
|
||||
protected void setParameter(IParameterizedSymbol symbol, IASTAbstractDeclaration absDecl, boolean isParameter, List references) throws ASTSemanticException
|
||||
{
|
||||
if (absDecl.getTypeSpecifier() == null)
|
||||
return;
|
||||
|
||||
TypeInfo.eType type = null;
|
||||
ISymbol xrefSymbol = null;
|
||||
List newReferences = null;
|
||||
|
|
Loading…
Add table
Reference in a new issue