mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-26 00:23:14 +01:00
[svn r39] * Updated to DMD 1.022 with the exception of:
Bugzilla 278: dmd.conf search path doesn't work This fix was causing crashes for me :/ So for it's the old behaviour
This commit is contained in:
@@ -1835,7 +1835,6 @@ Type *Parser::parseDeclarator(Type *t, Identifier **pident, TemplateParameters *
|
||||
case TOKlparen:
|
||||
{ Arguments *arguments;
|
||||
int varargs;
|
||||
Type **pt;
|
||||
|
||||
if (tpl)
|
||||
{
|
||||
@@ -1852,7 +1851,8 @@ Type *Parser::parseDeclarator(Type *t, Identifier **pident, TemplateParameters *
|
||||
}
|
||||
|
||||
arguments = parseParameters(&varargs);
|
||||
ta = new TypeFunction(arguments, t, varargs, linkage);
|
||||
Type *ta = new TypeFunction(arguments, t, varargs, linkage);
|
||||
Type **pt;
|
||||
for (pt = &ts; *pt != t; pt = &(*pt)->next)
|
||||
;
|
||||
*pt = ta;
|
||||
|
||||
Reference in New Issue
Block a user