X-Git-Url: http://git.tdb.fi/?p=libs%2Fdatafile.git;a=blobdiff_plain;f=source%2Floader.h;h=4a1faa3f7af650ff4f4ec3726cc768fea77255cb;hp=604886125614728c2552d486decfa01afa19c804;hb=b0b9af7216560da2a46ea38fe2df959f4dfb126f;hpb=f51adf2b95f32bdda4d90eb52431405c3ecf8db1 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() { } };