This commit is contained in:
Hackerpilot 2014-05-20 04:26:01 +00:00
parent 15e39c1f19
commit 6033b77ac6
1 changed files with 5 additions and 0 deletions

View File

@ -421,6 +421,11 @@ private:
void visitAggregateDeclaration(AggType)(AggType dec, CompletionKind kind)
{
// 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,
kind, symbolFile, dec.name.index);
if (kind == CompletionKind.className)