diff dmd/Global.d @ 179:cd48cb899aee

Updated to dmd2.040
author korDen
date Sun, 17 Oct 2010 20:56:07 +0400
parents e3afd1303184
children eb38fdcb3e62
line wrap: on
line diff
--- a/dmd/Global.d	Sun Oct 17 07:42:00 2010 +0400
+++ b/dmd/Global.d	Sun Oct 17 20:56:07 2010 +0400
@@ -60,6 +60,7 @@
     string doc_ext	= "html";	// for Ddoc generated files
     string ddoc_ext	= "ddoc";	// for Ddoc macro include files
     string json_ext = "json";
+    string map_ext = "map";	// for .map files
     string hdr_ext	= "di";	// for D 'header' import files
     string copyright= "Copyright (c) 1999-2009 by Digital Mars";
     string written	= "written by Walter Bright, ported to D by community";
@@ -70,7 +71,7 @@
     string[] path;	// Array of char*'s which form the import lookup path
     string[] filePath;	// Array of char*'s which form the file import lookup path
     int structalign = 8;
-    string version_ = "v2.039";
+    string version_ = "v2.040";
 
     Param params;
     uint errors;	// number of errors reported so far
@@ -166,6 +167,10 @@
 	Outbuffer objbuf;
 	string lastmname;
 	int count;
+	elem* esharedctor;
+	Array esharedctorgates;
+	elem* eshareddtor;
+	int shareddtorcount;
 
 	// Used in backend.iasm
 	ASM_STATE asmstate;
@@ -208,6 +213,7 @@
 		obj_symbols_towrite = new Array();
 
 		ectorgates = new Array();
+		esharedctorgates = new Array();
 
 		sdummy = new Dsymbol();
 		edummy = new Expression(Loc(0), TOK.init, 0);