diff dmd/backend/Cstate.d @ 0:10317f0c89a5

Initial commit
author korDen
date Sat, 24 Oct 2009 08:42:06 +0400
parents
children 2cc604139636
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/dmd/backend/Cstate.d	Sat Oct 24 08:42:06 2009 +0400
@@ -0,0 +1,21 @@
+module dmd.backend.Cstate;
+
+import dmd.backend.Symbol;
+import dmd.backend.LIST;
+import dmd.backend.symtab_t;
+
+struct BLKLST;
+ 
+struct Cstate
+{
+    BLKLST* CSfilblk;	// current source file we are parsing
+    Symbol* CSlinkage;		// table of forward referenced linkage pragmas
+    list_t CSlist_freelist;	// free list for list package
+    symtab_t* CSpsymtab;	// pointer to current Symbol table
+version (MEMORYHX) {
+    void** CSphx;		// pointer to HX data block
+}
+    char* modname;		// module unique identifier
+}
+
+extern (C++) extern __gshared Cstate cstate;
\ No newline at end of file