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
|
2004-04-22 John Camelon
|
||||||
Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=59507
|
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 :
|
case IToken.t_virtual :
|
||||||
consume(IToken.t_virtual);
|
consume(IToken.t_virtual);
|
||||||
|
setCompletionValues(astClassSpec.getOwnerScope(), CompletionKind.CLASS_REFERENCE, KeywordSets.Key.EMPTY );
|
||||||
isVirtual = true;
|
isVirtual = true;
|
||||||
break;
|
break;
|
||||||
case IToken.t_public :
|
case IToken.t_public :
|
||||||
consume();
|
consume();
|
||||||
|
setCompletionValues(astClassSpec.getOwnerScope(), CompletionKind.CLASS_REFERENCE, KeywordSets.Key.EMPTY );
|
||||||
break;
|
break;
|
||||||
case IToken.t_protected :
|
case IToken.t_protected :
|
||||||
consume();
|
consume();
|
||||||
visibility = ASTAccessVisibility.PROTECTED;
|
visibility = ASTAccessVisibility.PROTECTED;
|
||||||
|
setCompletionValues(astClassSpec.getOwnerScope(), CompletionKind.CLASS_REFERENCE, KeywordSets.Key.EMPTY );
|
||||||
break;
|
break;
|
||||||
case IToken.t_private :
|
case IToken.t_private :
|
||||||
visibility = ASTAccessVisibility.PRIVATE;
|
visibility = ASTAccessVisibility.PRIVATE;
|
||||||
consume();
|
consume();
|
||||||
|
setCompletionValues(astClassSpec.getOwnerScope(), CompletionKind.CLASS_REFERENCE, KeywordSets.Key.EMPTY );
|
||||||
break;
|
break;
|
||||||
case IToken.tCOLONCOLON :
|
case IToken.tCOLONCOLON :
|
||||||
case IToken.tIDENTIFIER :
|
case IToken.tIDENTIFIER :
|
||||||
nameDuple = name(astClassSpec.getOwnerScope(), CompletionKind.CLASS_REFERENCE, Key.EMPTY );
|
nameDuple = name(astClassSpec.getOwnerScope(), CompletionKind.CLASS_REFERENCE, Key.BASE_SPECIFIER );
|
||||||
break;
|
break;
|
||||||
case IToken.tCOMMA :
|
case IToken.tCOMMA :
|
||||||
try
|
try
|
||||||
|
@ -2668,6 +2672,7 @@ public abstract class Parser extends ExpressionParser implements IParser
|
||||||
visibility = ASTAccessVisibility.PUBLIC;
|
visibility = ASTAccessVisibility.PUBLIC;
|
||||||
nameDuple = null;
|
nameDuple = null;
|
||||||
consume();
|
consume();
|
||||||
|
setCompletionValues(astClassSpec.getOwnerScope(), CompletionKind.CLASS_REFERENCE, KeywordSets.Key.BASE_SPECIFIER );
|
||||||
continue baseSpecifierLoop;
|
continue baseSpecifierLoop;
|
||||||
default :
|
default :
|
||||||
break baseSpecifierLoop;
|
break baseSpecifierLoop;
|
||||||
|
|
Loading…
Add table
Reference in a new issue