Allow log_ statements outside of a class
[delight/core.git] / dmd / version.h
blobc9de7a7d83ca88e1e39a2d0005b3ea72b663064b
2 // Compiler implementation of the D programming language
3 // Copyright (c) 1999-2006 by Digital Mars
4 // All Rights Reserved
5 // written by Walter Bright
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.
11 #ifndef DMD_VERSION_H
12 #define DMD_VERSION_H
14 #ifdef __DMC__
15 #pragma once
16 #endif /* __DMC__ */
18 #include "dsymbol.h"
20 struct OutBuffer;
21 struct HdrGenState;
23 struct DebugSymbol : Dsymbol
25 unsigned level;
27 DebugSymbol(Loc loc, Identifier *ident);
28 DebugSymbol(Loc loc, unsigned level);
29 Dsymbol *syntaxCopy(Dsymbol *);
31 int addMember(Scope *sc, ScopeDsymbol *s, int memnum);
32 void semantic(Scope *sc);
33 void toCBuffer(OutBuffer *buf, HdrGenState *hgs);
34 char *kind();
37 struct VersionSymbol : Dsymbol
39 unsigned level;
41 VersionSymbol(Loc loc, Identifier *ident);
42 VersionSymbol(Loc loc, unsigned level);
43 Dsymbol *syntaxCopy(Dsymbol *);
45 int addMember(Scope *sc, ScopeDsymbol *s, int memnum);
46 void semantic(Scope *sc);
47 void toCBuffer(OutBuffer *buf, HdrGenState *hgs);
48 char *kind();
51 #endif /* DMD_VERSION_H */