mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Updated content assist to not clear() the Scanner's definition map.
This commit is contained in:
parent
f4766d0e55
commit
a556bad46a
2 changed files with 4 additions and 2 deletions
|
@ -1,3 +1,6 @@
|
|||
2004-03-11 John Camelon
|
||||
Updated content assist to not clear() the Scanner's definition map.
|
||||
|
||||
2004-03-09 Alain Magloire
|
||||
|
||||
Added the source folder refactor in the build
|
||||
|
|
|
@ -78,7 +78,7 @@ public class CompletionEngine implements RelevanceConstants {
|
|||
int completionStart = 0;
|
||||
int completionLength = 0;
|
||||
IPreferenceStore store = CUIPlugin.getDefault().getPreferenceStore();
|
||||
private Map macroMap = new HashMap();
|
||||
private Map macroMap = null;
|
||||
|
||||
private static final String exceptionKeyword = "..."; //$NON-NLS-1$
|
||||
// scope relevance element counters
|
||||
|
@ -175,7 +175,6 @@ public class CompletionEngine implements RelevanceConstants {
|
|||
|
||||
IParser parser = null;
|
||||
IScanner scanner = null;
|
||||
macroMap.clear();
|
||||
try
|
||||
{
|
||||
scanner = ParserFactory.createScanner( reader, realPath.toOSString(), scanInfo, ParserMode.COMPLETION_PARSE, language, requestor, ParserUtil.getScannerLogService() );
|
||||
|
|
Loading…
Add table
Reference in a new issue