comparison dmd/mtype.c @ 162:1856c62af24b trunk

[svn r178] Fixed codegen values for function arguments, the old approach was completely broken, amazing it even worked...
author lindquist
date Mon, 05 May 2008 00:56:53 +0200
parents 5acec6b2eef8
children f66219e0d530
comparison
equal deleted inserted replaced
161:3a891cfcd249 162:1856c62af24b
5055 { 5055 {
5056 this->type = type; 5056 this->type = type;
5057 this->ident = ident; 5057 this->ident = ident;
5058 this->storageClass = storageClass; 5058 this->storageClass = storageClass;
5059 this->defaultArg = defaultArg; 5059 this->defaultArg = defaultArg;
5060 this->vardecl = 0;
5061 } 5060 }
5062 5061
5063 Argument *Argument::syntaxCopy() 5062 Argument *Argument::syntaxCopy()
5064 { 5063 {
5065 Argument *a = new Argument(storageClass, 5064 Argument *a = new Argument(storageClass,