1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00
This commit is contained in:
John Camelon 2004-04-23 03:09:03 +00:00
parent 1802824b5f
commit 7d0db41463
2 changed files with 10 additions and 2 deletions

View file

@ -1,3 +1,6 @@
2004-04-22 John Camelon
Partial fix for https://bugs.eclipse.org/bugs/show_bug.cgi?id=59686
2004-04-22 John Camelon
Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=59507

View file

@ -2629,22 +2629,26 @@ public abstract class Parser extends ExpressionParser implements IParser
{
case IToken.t_virtual :
consume(IToken.t_virtual);
setCompletionValues(astClassSpec.getOwnerScope(), CompletionKind.CLASS_REFERENCE, KeywordSets.Key.EMPTY );
isVirtual = true;
break;
case IToken.t_public :
consume();
consume();
setCompletionValues(astClassSpec.getOwnerScope(), CompletionKind.CLASS_REFERENCE, KeywordSets.Key.EMPTY );
break;
case IToken.t_protected :
consume();
visibility = ASTAccessVisibility.PROTECTED;
setCompletionValues(astClassSpec.getOwnerScope(), CompletionKind.CLASS_REFERENCE, KeywordSets.Key.EMPTY );
break;
case IToken.t_private :
visibility = ASTAccessVisibility.PRIVATE;
consume();
setCompletionValues(astClassSpec.getOwnerScope(), CompletionKind.CLASS_REFERENCE, KeywordSets.Key.EMPTY );
break;
case IToken.tCOLONCOLON :
case IToken.tIDENTIFIER :
nameDuple = name(astClassSpec.getOwnerScope(), CompletionKind.CLASS_REFERENCE, Key.EMPTY );
nameDuple = name(astClassSpec.getOwnerScope(), CompletionKind.CLASS_REFERENCE, Key.BASE_SPECIFIER );
break;
case IToken.tCOMMA :
try
@ -2668,6 +2672,7 @@ public abstract class Parser extends ExpressionParser implements IParser
visibility = ASTAccessVisibility.PUBLIC;
nameDuple = null;
consume();
setCompletionValues(astClassSpec.getOwnerScope(), CompletionKind.CLASS_REFERENCE, KeywordSets.Key.BASE_SPECIFIER );
continue baseSpecifierLoop;
default :
break baseSpecifierLoop;