mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-09 08:23:20 +01:00
Renamed SymbolDeclaration to StaticStructInitDeclaration to make its usage clearer.
This commit is contained in:
@@ -22,16 +22,10 @@
|
||||
#include "attrib.h"
|
||||
#include "lexer.h"
|
||||
|
||||
/********************************* SymbolDeclaration ****************************/
|
||||
|
||||
SymbolDeclaration::SymbolDeclaration(Loc loc, Symbol *s, StructDeclaration *dsym)
|
||||
: Declaration(new Identifier("", TOKidentifier))
|
||||
Symbol *StaticStructInitDeclaration::toSymbol()
|
||||
{
|
||||
}
|
||||
|
||||
Symbol *SymbolDeclaration::toSymbol()
|
||||
{
|
||||
return sym;
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*************************************
|
||||
|
||||
Reference in New Issue
Block a user