diff dmd/IndexExp.d @ 73:ef02e2e203c2

Updating to dmd2.033
author korDen
date Sat, 28 Aug 2010 19:42:41 +0400
parents 2e2a5c3f943a
children 43073c7c7769
line wrap: on
line diff
--- a/dmd/IndexExp.d	Sat Aug 28 16:19:48 2010 +0200
+++ b/dmd/IndexExp.d	Sat Aug 28 19:42:41 2010 +0400
@@ -43,6 +43,9 @@
 import dmd.backend.TYM;
 
 import core.stdc.string;
+import core.stdc.stdio;
+
+extern (C) extern void exit(int);
 
 class IndexExp : BinExp
 {
@@ -147,6 +150,9 @@
 				TupleExp te;
 				TypeTuple tup;
 
+				printf("e1.op: %d\n", e1.op);
+				exit(-1);
+				
 				if (e1.op == TOKtuple)
 				{	
 					te = cast(TupleExp)e1;