Changeset 1628:6c36e3f49b28
- 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
| r1625 |
r1628 |
|
| 251 | 251 | } |
|---|
| 252 | 252 | if (symtab) |
|---|
| 253 | | { if (!scope) |
|---|
| | 253 | { if (sizeok == 1 || !scope) |
|---|
| 254 | 254 | { //printf("\tsemantic for '%s' is already completed\n", toChars()); |
|---|
| 255 | 255 | return; // semantic() already completed |
|---|
| r1623 |
r1628 |
|
| 62 | 62 | |
|---|
| 63 | 63 | if (symtab) // if already done |
|---|
| 64 | | { if (!scope) |
|---|
| | 64 | { if (isdone || !scope) |
|---|
| 65 | 65 | return; // semantic() already completed |
|---|
| 66 | 66 | } |
|---|
| … | … | |
| 96 | 96 | memtype = Type::tint32; |
|---|
| 97 | 97 | } |
|---|
| | 98 | |
|---|
| | 99 | isdone = 1; |
|---|
| 98 | 100 | |
|---|
| 99 | 101 | t = isAnonymous() ? memtype : type; |
|---|
| r1587 |
r1628 |
|
| 43 | 43 | #endif |
|---|
| 44 | 44 | int isdeprecated; |
|---|
| | 45 | int isdone; // 0: not done |
|---|
| | 46 | // 1: semantic() successfully completed |
|---|
| 45 | 47 | |
|---|
| 46 | 48 | EnumDeclaration(Loc loc, Identifier *id, Type *memtype); |
|---|
| r1613 |
r1628 |
|
| 59 | 59 | copyright = "Copyright (c) 1999-2009 by Digital Mars and Tomas Lindquist Olsen"; |
|---|
| 60 | 60 | written = "written by Walter Bright and Tomas Lindquist Olsen"; |
|---|
| 61 | | version = "v1.054"; |
|---|
| | 61 | version = "v1.055"; |
|---|
| 62 | 62 | ldc_version = LDC_REV; |
|---|
| 63 | 63 | llvm_version = LLVM_REV_STR; |
|---|
| r1625 |
r1628 |
|
| 254 | 254 | |
|---|
| 255 | 255 | if (symtab) |
|---|
| 256 | | { if (!scope) |
|---|
| | 256 | { if (sizeok == 1 || !scope) |
|---|
| | 257 | { //printf("already completed\n"); |
|---|
| | 258 | scope = NULL; |
|---|
| 257 | 259 | return; // semantic() already completed |
|---|
| | 260 | } |
|---|
| 258 | 261 | } |
|---|
| 259 | 262 | else |
|---|