Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/dmd/declaration.h
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,8 @@ class VarDeclaration : public Declaration
Expression *edtor; // if !=NULL, does the destruction of the variable
IntRange *range; // if !NULL, the variable is known to be within the range

VarDeclarations *maybes; // STCmaybescope variables that are assigned to this STCmaybescope variable

Dsymbol *syntaxCopy(Dsymbol *);
void setFieldOffset(AggregateDeclaration *ad, unsigned *poffset, bool isunion);
const char *kind() const;
Expand Down
9 changes: 5 additions & 4 deletions src/dmd/globals.h
Original file line number Diff line number Diff line change
Expand Up @@ -230,10 +230,11 @@ struct Global

Compiler compiler;
Param params;
unsigned errors; // number of errors reported so far
unsigned warnings; // number of warnings reported so far
unsigned gag; // !=0 means gag reporting of errors & warnings
unsigned gaggedErrors; // number of errors reported while gagged
unsigned errors; // number of errors reported so far
unsigned warnings; // number of warnings reported so far
unsigned gag; // !=0 means gag reporting of errors & warnings
unsigned gaggedErrors; // number of errors reported while gagged
unsigned gaggedWarnings; // number of warnings reported while gagged

void* console; // opaque pointer to console for controlling text attributes

Expand Down