Merged DMD commit 6669a7678506cd0dc03018ce3a341396b64d2aad:

more 64
This commit is contained in:
David Nadlinger
2011-04-22 18:42:48 +02:00
parent 1ae87178ba
commit 65bcab0bd5
2 changed files with 2 additions and 2 deletions

View File

@@ -167,7 +167,7 @@ struct Type : Object
#define tshiftcnt tint32 // right side of shift expression
// #define tboolean tint32 // result of boolean expression
#define tboolean tbool // result of boolean expression
#define tindex tint32 // array/ptr index
#define tindex tsize_t // array/ptr index
static Type *tvoidptr; // void*
#define terror basic[Terror] // for error recovery

View File

@@ -3681,7 +3681,7 @@ void TemplateInstance::semantic(Scope *sc)
// Give additional context info if error occurred during instantiation
if (global.errors != errorsave)
{
error("error instantiating");
error(loc, "error instantiating");
if (tinst)
{ tinst->printInstantiationTrace();
if (!global.gag)