[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:
Tomas Lindquist Olsen
2007-10-09 06:21:30 +02:00
parent 3db5b9bb98
commit e251fc42b2
15 changed files with 277 additions and 114 deletions

View File

@@ -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;