Mercurial > projects > ddmd
view dmd/backend/Cstate.d @ 14:2cc604139636
Implemented Linux support for ddmd. Some parts are a bit hacky to just "get it working", that said, druntime and phobos compile, and unittests pass.
author | Robert Clipsham <robert@octarineparrot.com> |
---|---|
date | Sun, 04 Apr 2010 02:06:32 +0100 |
parents | 10317f0c89a5 |
children | 5c9b78899f5d |
line wrap: on
line source
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;