comparison dmd/Type.d @ 157:b7b61140701d

* added all missing default cases in switch statements + Lexer.getDocComment + Lexer.combineComments
author trass3r
date Thu, 16 Sep 2010 01:34:10 +0200
parents 31c086f76669
children 96c0fff6897d
comparison
equal deleted inserted replaced
156:0c8cc2a10f99 157:b7b61140701d
87 /* REALSIZE = size a real consumes in memory 87 /* REALSIZE = size a real consumes in memory
88 * REALPAD = 'padding' added to the CPU real size to bring it up to REALSIZE 88 * REALPAD = 'padding' added to the CPU real size to bring it up to REALSIZE
89 * REALALIGNSIZE = alignment for reals 89 * REALALIGNSIZE = alignment for reals
90 */ 90 */
91 version (TARGET_OSX) { 91 version (TARGET_OSX) {
92 extern(C++) int REALSIZE = 16; 92 extern(C++) __gshared int REALSIZE = 16;
93 int REALPAD = 6; 93 int REALPAD = 6;
94 int REALALIGNSIZE = 16; 94 int REALALIGNSIZE = 16;
95 } else version (POSIX) { /// TARGET_LINUX || TARGET_FREEBSD || TARGET_SOLARIS 95 } else version (POSIX) { /// TARGET_LINUX || TARGET_FREEBSD || TARGET_SOLARIS
96 extern(C++) int REALSIZE = 12; 96 extern(C++) __gshared int REALSIZE = 12;
97 int REALPAD = 2; 97 int REALPAD = 2;
98 int REALALIGNSIZE = 4; 98 int REALALIGNSIZE = 4;
99 } else { 99 } else {
100 extern(C++) int REALSIZE = 10; 100 extern(C++) __gshared int REALSIZE = 10;
101 int REALPAD = 0; 101 int REALPAD = 0;
102 int REALALIGNSIZE = 2; 102 int REALALIGNSIZE = 2;
103 } 103 }
104 104
105 /**** 105 /****