comparison dmd/declaration.c @ 245:d61ce72c39ab trunk

[svn r262] Fixed debug info for normal function parameters. Fixed debug info for pointers to basic types.
author lindquist
date Mon, 09 Jun 2008 12:43:16 +0200
parents 5acec6b2eef8
children 2b72433d5c8c
comparison
equal deleted inserted replaced
244:a95056b3c996 245:d61ce72c39ab
571 //init->isExpInitializer()->exp->dump(0); 571 //init->isExpInitializer()->exp->dump(0);
572 } 572 }
573 573
574 sv = new VarDeclaration(loc, type ? type->syntaxCopy() : NULL, ident, init); 574 sv = new VarDeclaration(loc, type ? type->syntaxCopy() : NULL, ident, init);
575 sv->storage_class = storage_class; 575 sv->storage_class = storage_class;
576 // LLVMDC
577 sv->needsStorage = needsStorage;
576 } 578 }
577 #ifdef _DH 579 #ifdef _DH
578 // Syntax copy for header file 580 // Syntax copy for header file
579 if (!htype) // Don't overwrite original 581 if (!htype) // Don't overwrite original
580 { if (type) // Make copy for both old and new instances 582 { if (type) // Make copy for both old and new instances