git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added "done" signature for parsers.
[stg.git]
/
stglibs
/
srvconf.lib
/
parsers
/
simple.cpp
diff --git
a/stglibs/srvconf.lib/parsers/simple.cpp
b/stglibs/srvconf.lib/parsers/simple.cpp
index 89537f2cc143adb11be1df18594811b49bacb749..4749c70f3a1ceaf812690ce4b49781172601d161 100644
(file)
--- a/
stglibs/srvconf.lib/parsers/simple.cpp
+++ b/
stglibs/srvconf.lib/parsers/simple.cpp
@@
-24,10
+24,11
@@
using namespace STG;
using namespace STG;
-SIMPLE::PARSER::PARSER(const std::string & t, CALLBACK f, void * d)
+SIMPLE::PARSER::PARSER(const std::string & t, CALLBACK f, void * d
, const std::string & e
)
: tag(t),
callback(f),
data(d),
: tag(t),
callback(f),
data(d),
+ encoding(e),
depth(0)
{
}
depth(0)
{
}