Preprocessor preprocessor;
bool allow_stage_change;
Module *module;
+ std::vector<const Module *> imported_modules;
Stage *cur_stage;
- std::set<std::string> declared_types;
+ std::set<std::string> global_types;
+ std::set<std::string> stage_types;
std::vector<std::string> errors;
public: