1.1 --- a/core/CTextParsers.cpp Wed Jan 24 21:51:49 2007 +0000
1.2 +++ b/core/CTextParsers.cpp Wed Jan 24 23:43:31 2007 +0000
1.3 @@ -5,6 +5,7 @@
1.4 #include <stdlib.h>
1.5 #include <assert.h>
1.6 #include "CTextParsers.h"
1.7 +#include "ShareSys.h"
1.8
1.9 CTextParsers g_TextParser;
1.10
1.11 @@ -29,6 +30,11 @@
1.12 g_ws_chartable[' '] = 1;
1.13 }
1.14
1.15 +void CTextParsers::OnSourceModAllInitialized()
1.16 +{
1.17 + g_ShareSys.AddInterface(NULL, this);
1.18 +}
1.19 +
1.20 unsigned int CTextParsers::GetUTF8CharBytes(const char *stream)
1.21 {
1.22 return _GetUTF8CharBytes(stream);