Mercurial > projects > ddmd
comparison dmd/AttribDeclaration.d @ 131:206db751bd4c
dmdfe 2.037 compiles now
author | Eldar Insafutdinov <e.insafutdinov@gmail.com> |
---|---|
date | Fri, 10 Sep 2010 00:27:37 +0100 |
parents | e28b18c23469 |
children | e3afd1303184 |
comparison
equal
deleted
inserted
replaced
130:60bb0fe4563e | 131:206db751bd4c |
---|---|
38 } | 38 } |
39 | 39 |
40 return m; | 40 return m; |
41 } | 41 } |
42 | 42 |
43 void setScopeNewSc(Scope sc, STC stc, LINK linkage, PROT protection, int explicitProtection, uint structalign) | 43 void setScopeNewSc(Scope sc, StorageClass stc, LINK linkage, PROT protection, int explicitProtection, uint structalign) |
44 { | 44 { |
45 if (decl) | 45 if (decl) |
46 { | 46 { |
47 Scope newsc = sc; | 47 Scope newsc = sc; |
48 if (stc != sc.stc || linkage != sc.linkage || protection != sc.protection || explicitProtection != sc.explicitProtection || structalign != sc.structalign) | 48 if (stc != sc.stc || linkage != sc.linkage || protection != sc.protection || explicitProtection != sc.explicitProtection || structalign != sc.structalign) |
64 newsc.pop(); | 64 newsc.pop(); |
65 } | 65 } |
66 } | 66 } |
67 } | 67 } |
68 | 68 |
69 void semanticNewSc(Scope sc, STC stc, LINK linkage, PROT protection, int explicitProtection, uint structalign) | 69 void semanticNewSc(Scope sc, StorageClass stc, LINK linkage, PROT protection, int explicitProtection, uint structalign) |
70 { | 70 { |
71 if (decl) | 71 if (decl) |
72 { | 72 { |
73 Scope newsc = sc; | 73 Scope newsc = sc; |
74 if (stc != sc.stc || linkage != sc.linkage || protection != sc.protection || explicitProtection != sc.explicitProtection || structalign != sc.structalign) | 74 if (stc != sc.stc || linkage != sc.linkage || protection != sc.protection || explicitProtection != sc.explicitProtection || structalign != sc.structalign) |