Mercurial > projects > ddmd
comparison dmd/ProtDeclaration.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 | 10317f0c89a5 |
children | 2e2a5c3f943a |
comparison
equal
deleted
inserted
replaced
48:0bd8afbaffd7 | 49:0aa7d1437ada |
---|---|
20 //printf("decl = %p\n", decl); | 20 //printf("decl = %p\n", decl); |
21 } | 21 } |
22 | 22 |
23 Dsymbol syntaxCopy(Dsymbol s) | 23 Dsymbol syntaxCopy(Dsymbol s) |
24 { | 24 { |
25 assert(false); | 25 ProtDeclaration pd; |
26 | |
27 assert(!s); | |
28 pd = new ProtDeclaration(protection, Dsymbol.arraySyntaxCopy(decl)); | |
29 return pd; | |
26 } | 30 } |
27 | 31 |
28 void setScope(Scope sc) | 32 void setScope(Scope sc) |
29 { | 33 { |
30 if (decl) | 34 if (decl) |