comparison dmd/Global.d @ 167:50a6d232176c

rewrite GlobalExpressions, moved DsymbolTable to Global, some cleanup
author korDen
date Thu, 30 Sep 2010 12:13:49 +0400
parents d8565fbd755c
children ceed63f310fb
comparison
equal deleted inserted replaced
166:d8565fbd755c 167:50a6d232176c
2 2
3 import dmd.common; 3 import dmd.common;
4 import dmd.Array; 4 import dmd.Array;
5 import dmd.Param; 5 import dmd.Param;
6 import dmd.ClassDeclaration; 6 import dmd.ClassDeclaration;
7 import dmd.DsymbolTable;
7 8
8 class Global 9 class Global
9 { 10 {
10 string mars_ext = "d"; 11 string mars_ext = "d";
11 string sym_ext = "d"; 12 string sym_ext = "d";
47 uint gag; // !=0 means gag reporting of errors 48 uint gag; // !=0 means gag reporting of errors
48 49
49 ClassDeclaration object; 50 ClassDeclaration object;
50 ClassDeclaration classinfo; 51 ClassDeclaration classinfo;
51 52
53 // Used in FuncDeclaration.genCfunc()
54 DsymbolTable st;
55
52 this() 56 this()
53 { 57 {
54 params.versionids = new Array(); 58 params.versionids = new Array();
59 st = new DsymbolTable();
55 } 60 }
56 } 61 }
57 62
58 Global global; 63 Global global;