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