Skip to content

Commit

Permalink
dmd 2.026
Browse files Browse the repository at this point in the history
  • Loading branch information
braddr committed Jul 3, 2009
1 parent 60d5d21 commit 00337ef
Show file tree
Hide file tree
Showing 169 changed files with 101,766 additions and 380 deletions.
2 changes: 1 addition & 1 deletion src/access.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#include <assert.h>

#include "root.h"
#include "mem.h"
#include "rmem.h"

#include "enum.h"
#include "aggregate.h"
Expand Down
8 changes: 4 additions & 4 deletions src/aggregate.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ struct AggregateDeclaration : ScopeDsymbol
int isdeprecated; // !=0 if deprecated
Scope *scope; // !=NULL means context to use

int isnested; // !=0 if is nested
VarDeclaration *vthis; // 'this' parameter if this aggregate is nested

// Special member functions
InvariantDeclaration *inv; // invariant
NewDeclaration *aggNew; // allocator
Expand Down Expand Up @@ -79,6 +82,7 @@ struct AggregateDeclaration : ScopeDsymbol
void addField(Scope *sc, VarDeclaration *v);
int isDeprecated(); // is aggregate deprecated?
FuncDeclaration *buildDtor(Scope *sc);
int isNested();

void emitComment(Scope *sc);
void toDocBuffer(OutBuffer *buf);
Expand Down Expand Up @@ -204,9 +208,6 @@ struct ClassDeclaration : AggregateDeclaration
int isauto; // !=0 if this is an auto class
int isabstract; // !=0 if abstract class

int isnested; // !=0 if is nested
VarDeclaration *vthis; // 'this' parameter if this class is nested

int inuse; // to prevent recursive attempts

ClassDeclaration(Loc loc, Identifier *id, BaseClasses *baseclasses);
Expand All @@ -224,7 +225,6 @@ struct ClassDeclaration : AggregateDeclaration
#endif
FuncDeclaration *findFunc(Identifier *ident, TypeFunction *tf);
void interfaceSemantic(Scope *sc);
int isNested();
int isCOMclass();
virtual int isCOMinterface();
#if V2
Expand Down
6 changes: 1 addition & 5 deletions src/arrayop.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,7 @@
#include <string.h>
#include <assert.h>

#if _WIN32 || IN_GCC
#include "mem.h"
#else
#include "../root/mem.h"
#endif
#include "rmem.h"

#include "stringtable.h"

Expand Down
6 changes: 1 addition & 5 deletions src/attrib.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,7 @@
#include <stdlib.h>
#include <assert.h>

#if _WIN32 || IN_GCC
#include "mem.h"
#elif linux || __APPLE__
#include "../root/mem.h"
#endif
#include "rmem.h"

#include "init.h"
#include "declaration.h"
Expand Down
Loading

0 comments on commit 00337ef

Please sign in to comment.