fix #126
This commit is contained in:
parent
15e39c1f19
commit
6033b77ac6
|
|
@ -421,6 +421,11 @@ private:
|
||||||
void visitAggregateDeclaration(AggType)(AggType dec, CompletionKind kind)
|
void visitAggregateDeclaration(AggType)(AggType dec, CompletionKind kind)
|
||||||
{
|
{
|
||||||
// Log.trace("visiting aggregate declaration ", dec.name.text);
|
// Log.trace("visiting aggregate declaration ", dec.name.text);
|
||||||
|
if (kind == CompletionKind.unionName && dec.name == tok!"")
|
||||||
|
{
|
||||||
|
dec.accept(this);
|
||||||
|
return;
|
||||||
|
}
|
||||||
SemanticSymbol* symbol = allocateSemanticSymbol(dec.name.text,
|
SemanticSymbol* symbol = allocateSemanticSymbol(dec.name.text,
|
||||||
kind, symbolFile, dec.name.index);
|
kind, symbolFile, dec.name.index);
|
||||||
if (kind == CompletionKind.className)
|
if (kind == CompletionKind.className)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue