X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/64b687f8ec36a103865044613cb0f42f98aeda3a..7766e753fefb962209f1898a234053f8c7bbe59d:/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;