mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Partial fix for https://bugs.eclipse.org/bugs/show_bug.cgi?id=59686
This commit is contained in:
parent
1802824b5f
commit
7d0db41463
2 changed files with 10 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue