mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-24 00:33:12 +01:00
Merged DMD commit 6669a7678506cd0dc03018ce3a341396b64d2aad:
more 64
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user