Wiki Roadmap Timeline Tickets New Ticket Source Search Help / Guide About Trac Login

Changeset 1628:6c36e3f49b28

Show
Ignore:
Timestamp:
01/06/10 13:18:23 (2 years ago)
Author:
Leandro Lucarella <llucax@gmail.com>
branch:
default
Message:

Merge DMD r324: bugzilla 3663 and 3664 - fwd ref regressions
---

dmd/class.c | 2 +-
dmd/enum.c | 4 +++-
dmd/enum.h | 2 ++
dmd/mars.c | 2 +-
dmd/struct.c | 5 ++++-
5 files changed, 11 insertions(+), 4 deletions(-)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • dmd/class.c

    r1625 r1628  
    251251    } 
    252252    if (symtab) 
    253     {   if (!scope) 
     253    {   if (sizeok == 1 || !scope) 
    254254    {   //printf("\tsemantic for '%s' is already completed\n", toChars()); 
    255255        return;     // semantic() already completed 
  • dmd/enum.c

    r1623 r1628  
    6262 
    6363    if (symtab)         // if already done 
    64     {   if (!scope) 
     64    {   if (isdone || !scope) 
    6565        return;     // semantic() already completed 
    6666    } 
     
    9696    memtype = Type::tint32; 
    9797    } 
     98 
     99    isdone = 1; 
    98100 
    99101    t = isAnonymous() ? memtype : type; 
  • dmd/enum.h

    r1587 r1628  
    4343#endif 
    4444    int isdeprecated; 
     45    int isdone;         // 0: not done 
     46                // 1: semantic() successfully completed 
    4547 
    4648    EnumDeclaration(Loc loc, Identifier *id, Type *memtype); 
  • dmd/mars.c

    r1613 r1628  
    5959    copyright = "Copyright (c) 1999-2009 by Digital Mars and Tomas Lindquist Olsen"; 
    6060    written = "written by Walter Bright and Tomas Lindquist Olsen"; 
    61     version = "v1.054"; 
     61    version = "v1.055"; 
    6262    ldc_version = LDC_REV; 
    6363    llvm_version = LLVM_REV_STR; 
  • dmd/struct.c

    r1625 r1628  
    254254 
    255255    if (symtab) 
    256     {   if (!scope) 
     256    {   if (sizeok == 1 || !scope) 
     257    {   //printf("already completed\n"); 
     258        scope = NULL; 
    257259            return;             // semantic() already completed 
     260    } 
    258261    } 
    259262    else 
Copyright © 2008, LDC Development Team.