root/branches/dmdfe-2.0/hdrgen.h

Revision 658, 0.8 kB (checked in by Gregor, 1 year ago)

MERGE: DMD 1.017

Line 
1 // Compiler implementation of the D programming language
2 // Copyright (c) 1999-2006 by Digital Mars
3 // All Rights Reserved
4 // initial header generation implementation by Dave Fladebo
5 // http://www.digitalmars.com
6 // License for redistribution is by either the Artistic License
7 // in artistic.txt, or the GNU General Public License in gnu.txt.
8 // See the included readme.txt for details.
9
10
11 struct HdrGenState
12 {
13     int hdrgen;     // 1 if generating header file
14     int ddoc;       // 1 if generating Ddoc file
15     int console;    // 1 if writing to console
16     int tpltMember;
17     int inCallExp;
18     int inPtrExp;
19     int inSlcExp;
20     int inDotExp;
21     int inBinExp;
22     int inArrExp;
23     int emitInst;
24     struct
25     {
26         int init;
27         int decl;
28     } FLinit;
29
30     HdrGenState() { memset(this, 0, sizeof(HdrGenState)); }
31 };
Note: See TracBrowser for help on using the browser.