X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/1b2ab8e6d556a8ed30d4feadc72263b3f4c86665..e8755e448558202feb64092ef8b1d91569ecc7db:/stglibs/srvconf.lib/parsers/simple.h diff --git a/stglibs/srvconf.lib/parsers/simple.h b/stglibs/srvconf.lib/parsers/simple.h index 03c950bc..43dbcd56 100644 --- a/stglibs/srvconf.lib/parsers/simple.h +++ b/stglibs/srvconf.lib/parsers/simple.h @@ -38,6 +38,7 @@ public: PARSER(const std::string & tag, CALLBACK f, void * data); int ParseStart(const char * el, const char ** attr); void ParseEnd(const char * el); + void Failure(const std::string & reason) { callback(false, reason, data); } private: std::string tag;