1.1 --- a/core/CTextParsers.cpp Wed Nov 08 06:25:25 2006 +0000
1.2 +++ b/core/CTextParsers.cpp Wed Nov 08 06:30:20 2006 +0000
1.3 @@ -33,13 +33,9 @@
1.4 return _GetUTF8CharBytes(stream);
1.5 }
1.6
1.7 -bool CTextParsers::ParseFile_SMC(const char *file, ITextListener_SMC *smc_listener, unsigned int *line, unsigned int *col)
1.8 +bool CTextParsers::ParseFile_SMC(const char *file, ITextListener_SMC *smc_listener, unsigned int *line, unsigned int *col, bool strict)
1.9 {
1.10 - /* :TODO: Implement this */
1.11 - if (line)
1.12 - {
1.13 - *line = 0;
1.14 - }
1.15 + /* This beast is a lot more rigorous than our INI friend. */
1.16
1.17 return false;
1.18 }
1.19 @@ -247,7 +243,7 @@
1.20 {
1.21 if (g_ws_chartable[c])
1.22 {
1.23 - /* if it's a space, keep track of the last space */
1.24 + /* if it's a space, keep track of the first occurring space */
1.25 if (!first_space)
1.26 {
1.27 first_space = i;