diff --git a/core/org.eclipse.cdt.ui/ChangeLog b/core/org.eclipse.cdt.ui/ChangeLog index 9e95dfa8387..8e43465f5b9 100644 --- a/core/org.eclipse.cdt.ui/ChangeLog +++ b/core/org.eclipse.cdt.ui/ChangeLog @@ -1,3 +1,6 @@ +2004-04-15 John Camelon + Partial fix for https://bugs.eclipse.org/bugs/show_bug.cgi?id=57928 + 2004-04-14 Alain Magloire Remove the contribution for header doing this will force diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/text/contentassist/CompletionEngine.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/text/contentassist/CompletionEngine.java index cf3d222ad2f..c26d646e33f 100644 --- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/text/contentassist/CompletionEngine.java +++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/text/contentassist/CompletionEngine.java @@ -183,7 +183,8 @@ public class CompletionEngine implements RelevanceConstants { // start timer elementRequestor.startTimer(); - long parserTime = System.currentTimeMillis(); + long parserTime = System.currentTimeMillis(); + macroMap = null; result = parser.parse(completionOffset); log("Time spent in Parser = "+ ( System.currentTimeMillis() - parserTime ) + " ms"); //$NON-NLS-1$ //$NON-NLS-2$