Mercurial > projects > ldc
diff 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 |
line wrap: on
line diff
--- a/dmd/statement.h Thu Mar 12 14:08:57 2009 +0100 +++ b/dmd/statement.h Thu Mar 12 20:37:27 2009 +0100 @@ -79,7 +79,7 @@ #endif struct code; -/* How a statement exits +/* How a statement exits; this is returned by blockExit() */ enum BE { @@ -134,6 +134,7 @@ char *toChars(); void error(const char *format, ...); + void warning(const char *format, ...); virtual void toCBuffer(OutBuffer *buf, HdrGenState *hgs); virtual TryCatchStatement *isTryCatchStatement() { return NULL; } virtual GotoStatement *isGotoStatement() { return NULL; }