comparison dmd/mtype.h @ 1619:c61782a76dff

Merge DMD r304: refactor invariant => immutable --- dmd/cast.c | 2 +- dmd/declaration.c | 2 +- dmd/declaration.h | 3 +-- dmd/doc.c | 2 +- dmd/expression.c | 6 +++--- dmd/interpret.c | 4 ++-- dmd/mtype.c | 2 +- dmd/mtype.h | 2 +- dmd/parse.c | 4 ++-- dmd/struct.c | 2 +- 10 files changed, 14 insertions(+), 15 deletions(-)
author Leandro Lucarella <llucax@gmail.com>
date Wed, 06 Jan 2010 15:18:22 -0300
parents 207a8a438dea
children e83f0778c260
comparison
equal deleted inserted replaced
1618:a87f1d6ff48e 1619:c61782a76dff
120 TY ty; 120 TY ty;
121 unsigned char mod; // modifiers MODxxxx 121 unsigned char mod; // modifiers MODxxxx
122 /* pick this order of numbers so switch statements work better 122 /* pick this order of numbers so switch statements work better
123 */ 123 */
124 #define MODconst 1 // type is const 124 #define MODconst 1 // type is const
125 #define MODinvariant 4 // type is invariant 125 #define MODimmutable 4 // type is invariant
126 #define MODshared 2 // type is shared 126 #define MODshared 2 // type is shared
127 char *deco; 127 char *deco;
128 Type *pto; // merged pointer to this type 128 Type *pto; // merged pointer to this type
129 Type *rto; // reference to this type 129 Type *rto; // reference to this type
130 Type *arrayof; // array of this type 130 Type *arrayof; // array of this type