X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Floader.h;h=4a1faa3f7af650ff4f4ec3726cc768fea77255cb;hb=8e3fad222e174b7c659fd3d994d54314657ed989;hp=604886125614728c2552d486decfa01afa19c804;hpb=302f73123da1194dd91b43138cd880cae9318a14;p=libs%2Fdatafile.git diff --git a/source/loader.h b/source/loader.h index 6048861..4a1faa3 100644 --- a/source/loader.h +++ b/source/loader.h @@ -139,6 +139,9 @@ protected: source may not necessarily be a file. */ const std::string &get_source() const; + /** Throws a data_error from the current line. */ + void error(const std::string &) const; + virtual void finish() { } };