diff dmd/scope.c @ 561:d4e95db0e62b

Introducing template instantiation traces for static asserts and errors within templates.
author Christian Kamm <kamm incasoftware de>
date Sat, 30 Aug 2008 10:30:57 +0200
parents a58d8f4b84df
children b30fe7e1dbb9
line wrap: on
line diff
--- a/dmd/scope.c	Fri Aug 29 15:01:48 2008 +0200
+++ b/dmd/scope.c	Sat Aug 30 10:30:57 2008 +0200
@@ -54,6 +54,7 @@
     this->sw = NULL;
     this->tf = NULL;
     this->tfOfTry = NULL;
+    this->tinst = NULL;
     this->sbreak = NULL;
     this->scontinue = NULL;
     this->fes = NULL;
@@ -92,6 +93,7 @@
     this->sw = enclosing->sw;
     this->tf = enclosing->tf;
     this->tfOfTry = enclosing->tfOfTry;
+    this->tinst = enclosing->tinst;
     this->sbreak = enclosing->sbreak;
     this->scontinue = enclosing->scontinue;
     this->fes = enclosing->fes;