diff dmd/expression.h @ 1615:3da302cc4966

Merge DMD r294: bugzilla 2816 Sudden-death static assert is not... bugzilla 2816 Sudden-death static assert is not very useful. --- dmd/expression.h | 12 ++++++ dmd/staticassert.c | 10 +--- dmd/template.c | 108 ++++++++++++++++++++++++++++++++++++++++++++++++---- dmd/template.h | 2 + 4 files changed, 117 insertions(+), 15 deletions(-)
author Leandro Lucarella <llucax@gmail.com>
date Wed, 06 Jan 2010 15:18:21 -0300
parents 207a8a438dea
children a87f1d6ff48e
line wrap: on
line diff
--- a/dmd/expression.h	Wed Jan 06 15:18:21 2010 -0300
+++ b/dmd/expression.h	Wed Jan 06 15:18:21 2010 -0300
@@ -1546,6 +1546,18 @@
 #endif
 };
 
+#if DMDV2
+struct PowExp : BinExp
+{
+    PowExp(Loc loc, Expression *e1, Expression *e2);
+    Expression *semantic(Scope *sc);
+
+    // For operator overloading
+    Identifier *opId();
+    Identifier *opId_r();
+};
+#endif
+
 struct ShlExp : BinExp
 {
     ShlExp(Loc loc, Expression *e1, Expression *e2);