Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorSergey Prigogin2010-05-30 05:08:06 +0000
committerSergey Prigogin2010-05-30 05:08:06 +0000
commit8d5b9371c19e9ffa308a867d23b05c77c7143957 (patch)
tree28676504eb393c867154e3d270c43e5fa5666b6e /core
parentdb9e9880a7e806e21dd3e01d460a56973683954e (diff)
downloadorg.eclipse.cdt-8d5b9371c19e9ffa308a867d23b05c77c7143957.tar.gz
org.eclipse.cdt-8d5b9371c19e9ffa308a867d23b05c77c7143957.tar.xz
org.eclipse.cdt-8d5b9371c19e9ffa308a867d23b05c77c7143957.zip
Added C++0x template classes to angular introducers.
Diffstat (limited to 'core')
-rw-r--r--core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/editor/CEditor.java9
1 files changed, 7 insertions, 2 deletions
diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/editor/CEditor.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/editor/CEditor.java
index 100679ec8f3..5576756727c 100644
--- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/editor/CEditor.java
+++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/editor/CEditor.java
@@ -631,7 +631,7 @@ public class CEditor extends TextEditor implements ISelectionChangedListener, IC
case '<':
if (!(fCloseAngularBrackets && fCloseBrackets)
|| nextToken == Symbols.TokenLESSTHAN
- || prevToken != Symbols.TokenIDENT
+ || prevToken != Symbols.TokenIDENT
|| !isAngularIntroducer(previous))
return;
break;
@@ -1297,7 +1297,7 @@ public class CEditor extends TextEditor implements ISelectionChangedListener, IC
private boolean fEnableScalablilityMode = false;
/**
- * Flag indicating wheter the reconciler is currently running.
+ * Flag indicating whether the reconciler is currently running.
*/
private volatile boolean fIsReconciling;
@@ -1318,7 +1318,12 @@ public class CEditor extends TextEditor implements ISelectionChangedListener, IC
angularIntroducers.add("hash_set"); //$NON-NLS-1$
angularIntroducers.add("hash_multimap"); //$NON-NLS-1$
angularIntroducers.add("hash_multiset"); //$NON-NLS-1$
+ angularIntroducers.add("unordered_map"); //$NON-NLS-1$
+ angularIntroducers.add("unordered_set"); //$NON-NLS-1$
+ angularIntroducers.add("unordered_multimap"); //$NON-NLS-1$
+ angularIntroducers.add("unordered_multiset"); //$NON-NLS-1$
angularIntroducers.add("pair"); //$NON-NLS-1$
+ angularIntroducers.add("tuple"); //$NON-NLS-1$
angularIntroducers.add("include"); //$NON-NLS-1$
}

Back to the top