class invalid_signature: public runtime_error
{
public:
- invalid_signature(const std::string &k, const std::string & s):
+ invalid_signature(const std::string &k, const std::string &s):
runtime_error(format("%s %s", k, s))
{ }
return cur_st->source;
}
-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),