Mercurial > projects > ldc
comparison dmd/statement.h @ 1103:b30fe7e1dbb9
- Updated to DMD frontend 1.041.
- Removed dmd/inifile.c , it's not under a free license, replaced with libconfig based config file.
author | Tomas Lindquist Olsen <tomas.l.olsen gmail.com> |
---|---|
date | Thu, 12 Mar 2009 20:37:27 +0100 |
parents | 03d7c4aac654 |
children | f99a3b393c03 |
comparison
equal
deleted
inserted
replaced
1102:ae950bd712d3 | 1103:b30fe7e1dbb9 |
---|---|
77 struct block; | 77 struct block; |
78 //struct elem; | 78 //struct elem; |
79 #endif | 79 #endif |
80 struct code; | 80 struct code; |
81 | 81 |
82 /* How a statement exits | 82 /* How a statement exits; this is returned by blockExit() |
83 */ | 83 */ |
84 enum BE | 84 enum BE |
85 { | 85 { |
86 BEnone = 0, | 86 BEnone = 0, |
87 BEfallthru = 1, | 87 BEfallthru = 1, |
132 | 132 |
133 void print(); | 133 void print(); |
134 char *toChars(); | 134 char *toChars(); |
135 | 135 |
136 void error(const char *format, ...); | 136 void error(const char *format, ...); |
137 void warning(const char *format, ...); | |
137 virtual void toCBuffer(OutBuffer *buf, HdrGenState *hgs); | 138 virtual void toCBuffer(OutBuffer *buf, HdrGenState *hgs); |
138 virtual TryCatchStatement *isTryCatchStatement() { return NULL; } | 139 virtual TryCatchStatement *isTryCatchStatement() { return NULL; } |
139 virtual GotoStatement *isGotoStatement() { return NULL; } | 140 virtual GotoStatement *isGotoStatement() { return NULL; } |
140 virtual AsmStatement *isAsmStatement() { return NULL; } | 141 virtual AsmStatement *isAsmStatement() { return NULL; } |
141 virtual AsmBlockStatement *isAsmBlockStatement() { return NULL; } | 142 virtual AsmBlockStatement *isAsmBlockStatement() { return NULL; } |