Mercurial > projects > ddmd
comparison dmd/StructDeclaration.d @ 49:0aa7d1437ada
AttribDeclaration.oneMember
Lexer.decodeUTF
WithStatement.ctor
StructDeclaration.syntaxCopy
CtorDeclaration.syntaxCopy
ConditionalStatement.syntaxCopy
ProtDeclaration.syntaxCopy
ArrayScopeSymbol.this
TemplateDeclaration.toChars
author | korDen |
---|---|
date | Sat, 21 Aug 2010 07:53:20 +0400 |
parents | 427f8aa74d28 |
children | 2e2a5c3f943a |
comparison
equal
deleted
inserted
replaced
48:0bd8afbaffd7 | 49:0aa7d1437ada |
---|---|
82 postblits = new FuncDeclarations(); /// | 82 postblits = new FuncDeclarations(); /// |
83 } | 83 } |
84 | 84 |
85 Dsymbol syntaxCopy(Dsymbol s) | 85 Dsymbol syntaxCopy(Dsymbol s) |
86 { | 86 { |
87 assert(false); | 87 StructDeclaration sd; |
88 | |
89 if (s) | |
90 sd = cast(StructDeclaration)s; | |
91 else | |
92 sd = new StructDeclaration(loc, ident); | |
93 ScopeDsymbol.syntaxCopy(sd); | |
94 return sd; | |
88 } | 95 } |
89 | 96 |
90 void semantic(Scope sc) | 97 void semantic(Scope sc) |
91 { | 98 { |
92 int i; | 99 int i; |