Mercurial > projects > ldc
diff dmd/expression.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 | 27a379f288bf |
children | 1860414bf3b7 |
line wrap: on
line diff
--- a/dmd/expression.h Thu Mar 12 14:08:57 2009 +0100 +++ b/dmd/expression.h Thu Mar 12 20:37:27 2009 +0100 @@ -78,6 +78,7 @@ void expandTuples(Expressions *exps); FuncDeclaration *hasThis(Scope *sc); Expression *fromConstInitializer(int result, Expression *e); +int arrayExpressionCanThrow(Expressions *exps); struct Expression : Object { @@ -97,6 +98,7 @@ char *toChars(); virtual void dump(int indent); void error(const char *format, ...); + void warning(const char *format, ...); virtual void rvalue(); static Expression *combine(Expression *e1, Expression *e2);