comparison dmd/declaration.c @ 73:b706170e24a9 trunk

[svn r77] Fixed foreach on slice. Fixed some nested function problems when accessing outer function parameters. Major changes to handling of structs. Initial support for unions. Probably more...
author lindquist
date Wed, 31 Oct 2007 03:11:32 +0100
parents 6fcc08a4d406
children d8dd47ef3973
comparison
equal deleted inserted replaced
72:d7e764e62462 73:b706170e24a9
548 aliassym = NULL; 548 aliassym = NULL;
549 onstack = 0; 549 onstack = 0;
550 canassign = 0; 550 canassign = 0;
551 value = NULL; 551 value = NULL;
552 llvmNestedIndex = -1; 552 llvmNestedIndex = -1;
553 llvmFieldIndex = -1;
554 llvmFieldIndexOffset = 0;
553 } 555 }
554 556
555 Dsymbol *VarDeclaration::syntaxCopy(Dsymbol *s) 557 Dsymbol *VarDeclaration::syntaxCopy(Dsymbol *s)
556 { 558 {
557 //printf("VarDeclaration::syntaxCopy(%s)\n", toChars()); 559 //printf("VarDeclaration::syntaxCopy(%s)\n", toChars());