tmpl updates

This commit is contained in:
Josh Holtrop committed 2010-05-11 13:02:51 -04:00
1 parent 90d313721f
commit 1dcde61d10
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -66,7 +66,7 @@ bool I_CLASSNAME::parse(istream & i)
/* compile all token regular expressions */
for (int i = 0; i < sizeof(tokens)/sizeof(tokens[0]); i++)
{
char * errptr;
const char * errptr;
int erroffset;
tokens[i].re = pcre_compile(tokens[i].definition, 0,
&errptr, &erroffset, NULL);
+2 -2
View File
@@ -13,10 +13,10 @@ class I_CLASSNAME
public:
I_CLASSNAME();
bool parse(std::istream & in);
char * getError(); { return m_errstr; }
char * getError() { return m_errstr; }
protected:
char * m_errstr;
const char * m_errstr;
};
#ifdef I_NAMESPACE