diff dmd/scope.h @ 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 d59c363fccad
children 041c1596d217
line wrap: on
line diff
--- a/dmd/scope.h	Fri Aug 29 15:01:48 2008 +0200
+++ b/dmd/scope.h	Sat Aug 30 10:30:57 2008 +0200
@@ -47,6 +47,7 @@
     SwitchStatement *sw;	// enclosing switch statement
     TryFinallyStatement *tf;	// enclosing try finally statement; set inside its finally block
     EnclosingHandler *tfOfTry; // enclosing try-finally, volatile or synchronized statement; set inside its try or body block
+    TemplateInstance *tinst;	// enclosing template instance
     Statement *sbreak;		// enclosing statement that supports "break"
     Statement *scontinue;	// enclosing statement that supports "continue"
     ForeachStatement *fes;	// if nested function for ForeachStatement, this is it