diff gen/toobj.cpp @ 733:cc8ba72c0350

Nested access to with statement should work now. fixes #105
author Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
date Mon, 27 Oct 2008 01:40:47 +0100
parents 6aeaef263289
children eee9efe5b51f
line wrap: on
line diff
--- a/gen/toobj.cpp	Mon Oct 27 01:11:41 2008 +0100
+++ b/gen/toobj.cpp	Mon Oct 27 01:40:47 2008 +0100
@@ -923,6 +923,7 @@
     for (int i=0; i < n; ++i)
     {
         DsymbolExp* exp = (DsymbolExp*)objects->data[i];
+        assert(exp->op == TOKdsymbol);
         exp->s->toObjFile(multiobj);
     }
 }