comparison dmd/scope.h @ 1602:a413ae7329bf

Merge DMD r243: some harmonization with D2 dmd --- dmd/aggregate.h | 24 ++++- dmd/attrib.c | 63 ++++++---- dmd/attrib.h | 10 +- dmd/declaration.h | 5 +- dmd/func.c | 337 ++++++++++++++++++++++------------------------------- dmd/mars.c | 2 +- dmd/mars.h | 7 + dmd/mtype.h | 13 ++- dmd/parse.c | 32 ++++- dmd/parse.h | 14 ++- dmd/scope.h | 2 +- 11 files changed, 263 insertions(+), 246 deletions(-)
author Leandro Lucarella <llucax@gmail.com>
date Wed, 06 Jan 2010 15:18:19 -0300
parents def7a1d494fd
children 9bf06e02070b
comparison
equal deleted inserted replaced
1601:49722e6e6e05 1602:a413ae7329bf
86 enum LINK linkage; // linkage for external functions 86 enum LINK linkage; // linkage for external functions
87 87
88 enum PROT protection; // protection for class members 88 enum PROT protection; // protection for class members
89 int explicitProtection; // set if in an explicit protection attribute 89 int explicitProtection; // set if in an explicit protection attribute
90 90
91 unsigned stc; // storage class 91 StorageClass stc; // storage class
92 92
93 unsigned flags; 93 unsigned flags;
94 #define SCOPEctor 1 // constructor type 94 #define SCOPEctor 1 // constructor type
95 #define SCOPEstaticif 2 // inside static if 95 #define SCOPEstaticif 2 // inside static if
96 #define SCOPEfree 4 // is on free list 96 #define SCOPEfree 4 // is on free list