-void Loader::error(const string &msg) const
-{
- if(!cur_st)
- throw logic_error("!cur_st");
- throw data_error(cur_st->source, cur_st->line, msg);
-}
-
-
-Loader::ActionKey::ActionKey(const string &k, const string &s):
- keyword(k),
- signature(s)
-{ }
-
-bool Loader::ActionKey::operator<(const ActionKey &other) const
-{
- if(keyword!=other.keyword)
- return keyword<other.keyword;
- return signature<other.signature;
-}
-