Loader::~Loader()
{
- for(ActionMap::iterator i = actions.begin(); i!=actions.end(); ++i)
+ for(ActionMap::iterator i=actions.begin(); i!=actions.end(); ++i)
delete i->second;
}
void Loader::load(const Statement &st)
{
- for(list<Statement>::const_iterator i = st.sub.begin(); i!=st.sub.end(); ++i)
+ for(list<Statement>::const_iterator i=st.sub.begin(); i!=st.sub.end(); ++i)
load_statement(*i);
finish();
}