diff options
author | John Camelon | 2004-04-15 17:55:20 +0000 |
---|---|---|
committer | John Camelon | 2004-04-15 17:55:20 +0000 |
commit | e50848b1766469509c80782229986ea06b6edb0f (patch) | |
tree | c2ba4ed361ae7a4a85eeabf0a4ae024f4533ca0b /core | |
parent | b8ff553e9a219ba25e83402bd0fcf07589e24af3 (diff) | |
download | org.eclipse.cdt-e50848b1766469509c80782229986ea06b6edb0f.tar.gz org.eclipse.cdt-e50848b1766469509c80782229986ea06b6edb0f.tar.xz org.eclipse.cdt-e50848b1766469509c80782229986ea06b6edb0f.zip |
Partial fix for https://bugs.eclipse.org/bugs/show_bug.cgi?id=57928
Diffstat (limited to 'core')
-rw-r--r-- | core/org.eclipse.cdt.ui/ChangeLog | 3 | ||||
-rw-r--r-- | core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/text/contentassist/CompletionEngine.java | 3 |
2 files changed, 5 insertions, 1 deletions
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$ |