diff 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
line wrap: on
line diff
--- a/dmd/declaration.c	Mon Jun 09 09:37:08 2008 +0200
+++ b/dmd/declaration.c	Mon Jun 09 12:43:16 2008 +0200
@@ -573,6 +573,8 @@
 
 	sv = new VarDeclaration(loc, type ? type->syntaxCopy() : NULL, ident, init);
 	sv->storage_class = storage_class;
+    // LLVMDC
+    sv->needsStorage = needsStorage;
     }
 #ifdef _DH
     // Syntax copy for header file