1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-08 10:16:03 +02:00

Updated the implementation to match the new method signature for the IScannerInfoCollector interface

This commit is contained in:
Sean Evoy 2004-05-10 13:34:53 +00:00
parent 2ef688cd80
commit aceec3d10f

View file

@ -42,11 +42,9 @@ public class DefaultGCCScannerInfoCollector implements IManagedScannerInfoCollec
} }
/* (non-Javadoc) /* (non-Javadoc)
* @see org.eclipse.cdt.make.core.scannerconfig.IScannerInfoCollector#contributeToScannerConfig(org.eclipse.core.resources.IResource, java.util.List, java.util.List, java.util.List) * @see org.eclipse.cdt.make.core.scannerconfig.IScannerInfoCollector#contributeToScannerConfig(org.eclipse.core.resources.IResource, java.util.List, java.util.List, java.util.Map)
*/ */
public void contributeToScannerConfig(IResource resource, List includes, public void contributeToScannerConfig(IResource resource, List includes, List symbols, Map extraInfo) {
List symbols, List targetSpecificOptions) {
// This method will be called by the parser each time there is a new value // This method will be called by the parser each time there is a new value
Iterator pathIter = includes.listIterator(); Iterator pathIter = includes.listIterator();
while (pathIter.hasNext()) { while (pathIter.hasNext()) {
@ -63,6 +61,7 @@ public class DefaultGCCScannerInfoCollector implements IManagedScannerInfoCollec
String value = (macroTokens.length > 1) ? macroTokens[1].trim() : new String(); String value = (macroTokens.length > 1) ? macroTokens[1].trim() : new String();
getDefinedSymbols().put(macro, value); getDefinedSymbols().put(macro, value);
} }
} }
/* (non-Javadoc) /* (non-Javadoc)
@ -92,4 +91,5 @@ public class DefaultGCCScannerInfoCollector implements IManagedScannerInfoCollec
this.project = project; this.project = project;
} }
} }