mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
changes for parsing iostream in a standard project with discovered symbols
This commit is contained in:
parent
90269402af
commit
83c0dabdbd
3 changed files with 10 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2004-04-07 Andrew Niefer
|
||||||
|
small changes to get through iostream under standard make with discovered symbols
|
||||||
|
- check null pointer in GCCScannerExtension.handlePreprocessorDirective, the null is probably a symptom of whatever
|
||||||
|
is giving us an unbalanced preprocessor directive
|
||||||
|
- catch exceptions during our 3rd attempt at a template argument in ExpressionParser.templateArgumentList
|
||||||
|
|
||||||
2004-04-07 John Camelon
|
2004-04-07 John Camelon
|
||||||
Provided a partial fix for https://bugs.eclipse.org/bugs/show_bug.cgi?id=50152
|
Provided a partial fix for https://bugs.eclipse.org/bugs/show_bug.cgi?id=50152
|
||||||
Updated IExpressionParser::expression() interface necessitated by this fix, and updated its clients appropriately.
|
Updated IExpressionParser::expression() interface necessitated by this fix, and updated its clients appropriately.
|
||||||
|
|
|
@ -211,6 +211,9 @@ public class ExpressionParser implements IExpressionParser {
|
||||||
}catch( BacktrackException e ){
|
}catch( BacktrackException e ){
|
||||||
failed = true;
|
failed = true;
|
||||||
break;
|
break;
|
||||||
|
}catch( Exception e ){
|
||||||
|
failed = true;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -112,7 +112,7 @@ public class GCCScannerExtension implements IScannerExtension {
|
||||||
TraceUtil.outputTrace(scannerData.getLogService(), "GCCScannerExtension handling #include_next directive", null, null, null, null); //$NON-NLS-1$
|
TraceUtil.outputTrace(scannerData.getLogService(), "GCCScannerExtension handling #include_next directive", null, null, null, null); //$NON-NLS-1$
|
||||||
// figure out the name of the current file and its path
|
// figure out the name of the current file and its path
|
||||||
IScannerContext context = scannerData.getContextStack().getCurrentContext();
|
IScannerContext context = scannerData.getContextStack().getCurrentContext();
|
||||||
if( context.getKind() != IScannerContext.ContextKind.INCLUSION )
|
if( context == null || context.getKind() != IScannerContext.ContextKind.INCLUSION )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
String fullInclusionPath = context.getFilename();
|
String fullInclusionPath = context.getFilename();
|
||||||
|
|
Loading…
Add table
Reference in a new issue