Mercurial > projects > ddmd
comparison dmd/Global.d @ 179:cd48cb899aee
Updated to dmd2.040
author | korDen |
---|---|
date | Sun, 17 Oct 2010 20:56:07 +0400 |
parents | e3afd1303184 |
children | eb38fdcb3e62 |
comparison
equal
deleted
inserted
replaced
178:e3afd1303184 | 179:cd48cb899aee |
---|---|
58 static assert (false); | 58 static assert (false); |
59 } | 59 } |
60 string doc_ext = "html"; // for Ddoc generated files | 60 string doc_ext = "html"; // for Ddoc generated files |
61 string ddoc_ext = "ddoc"; // for Ddoc macro include files | 61 string ddoc_ext = "ddoc"; // for Ddoc macro include files |
62 string json_ext = "json"; | 62 string json_ext = "json"; |
63 string map_ext = "map"; // for .map files | |
63 string hdr_ext = "di"; // for D 'header' import files | 64 string hdr_ext = "di"; // for D 'header' import files |
64 string copyright= "Copyright (c) 1999-2009 by Digital Mars"; | 65 string copyright= "Copyright (c) 1999-2009 by Digital Mars"; |
65 string written = "written by Walter Bright, ported to D by community"; | 66 string written = "written by Walter Bright, ported to D by community"; |
66 ///version (TARGET_NET) { | 67 ///version (TARGET_NET) { |
67 /// "\nMSIL back-end (alpha release) by Cristian L. Vlasceanu and associates."; | 68 /// "\nMSIL back-end (alpha release) by Cristian L. Vlasceanu and associates."; |
68 ///} | 69 ///} |
69 | 70 |
70 string[] path; // Array of char*'s which form the import lookup path | 71 string[] path; // Array of char*'s which form the import lookup path |
71 string[] filePath; // Array of char*'s which form the file import lookup path | 72 string[] filePath; // Array of char*'s which form the file import lookup path |
72 int structalign = 8; | 73 int structalign = 8; |
73 string version_ = "v2.039"; | 74 string version_ = "v2.040"; |
74 | 75 |
75 Param params; | 76 Param params; |
76 uint errors; // number of errors reported so far | 77 uint errors; // number of errors reported so far |
77 uint gag; // !=0 means gag reporting of errors | 78 uint gag; // !=0 means gag reporting of errors |
78 | 79 |
164 // Used in backend.glue | 165 // Used in backend.glue |
165 Array obj_symbols_towrite; | 166 Array obj_symbols_towrite; |
166 Outbuffer objbuf; | 167 Outbuffer objbuf; |
167 string lastmname; | 168 string lastmname; |
168 int count; | 169 int count; |
170 elem* esharedctor; | |
171 Array esharedctorgates; | |
172 elem* eshareddtor; | |
173 int shareddtorcount; | |
169 | 174 |
170 // Used in backend.iasm | 175 // Used in backend.iasm |
171 ASM_STATE asmstate; | 176 ASM_STATE asmstate; |
172 Token* asmtok; | 177 Token* asmtok; |
173 TOK tok_value; | 178 TOK tok_value; |
206 sarray = new Array(); | 211 sarray = new Array(); |
207 | 212 |
208 obj_symbols_towrite = new Array(); | 213 obj_symbols_towrite = new Array(); |
209 | 214 |
210 ectorgates = new Array(); | 215 ectorgates = new Array(); |
216 esharedctorgates = new Array(); | |
211 | 217 |
212 sdummy = new Dsymbol(); | 218 sdummy = new Dsymbol(); |
213 edummy = new Expression(Loc(0), TOK.init, 0); | 219 edummy = new Expression(Loc(0), TOK.init, 0); |
214 | 220 |
215 init_time(); | 221 init_time(); |