diff --git a/dmd2/statement.h b/dmd2/statement.h index a6f43ac7..11a86978 100644 --- a/dmd2/statement.h +++ b/dmd2/statement.h @@ -952,7 +952,7 @@ struct ImportStatement : Statement int inlineCost(InlineCostState *ics); Expression *doInline(InlineDoState *ids); - //void toIR(IRState *irs); + void toIR(IRState *irs); }; struct AsmBlockStatement : CompoundStatement diff --git a/gen/statements.cpp b/gen/statements.cpp index 3ac3641e..d7af2ef2 100644 --- a/gen/statements.cpp +++ b/gen/statements.cpp @@ -1644,6 +1644,12 @@ void SwitchErrorStatement::toIR(IRState* p) ////////////////////////////////////////////////////////////////////////////// +void ImportStatement::toIR(IRState *irs) +{ +} + +////////////////////////////////////////////////////////////////////////////// + ////////////////////////////////////////////////////////////////////////////// #define STUBST(x) void x::toIR(IRState * p) {error("Statement type "#x" not implemented: %s", toChars());fatal();}