diff --git a/src/dmd/declaration.h b/src/dmd/declaration.h index c8ba91d285b7..abe921041362 100644 --- a/src/dmd/declaration.h +++ b/src/dmd/declaration.h @@ -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; diff --git a/src/dmd/globals.h b/src/dmd/globals.h index 1aab720cdd62..2f1d86c44056 100644 --- a/src/dmd/globals.h +++ b/src/dmd/globals.h @@ -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