@ -75,10 +75,10 @@ void SpaceParser::SetDefault()
list_start = ' ( ' ;
list_end = ' ) ' ;
list_delimiter = ' , ' ;
split_single = fals e;
split_single = tru e;
skip_empty = false ;
use_escape_char = true ;
input_as_utf8 = fals e;
input_as_utf8 = tru e;
}
@ -262,9 +262,6 @@ void SpaceParser::SpaceEnds()
space = space - > parent ;
ReadChar ( ) ; // skipping closing space character ')'
SkipWhite ( ) ;
if ( lastc ! = - 1 & & lastc ! = ' \n ' )
status = syntax_error ;
}
}
@ -413,6 +410,7 @@ void SpaceParser::ReadTokenSingle(bool white_delimit, bool new_line_delimit, int
SkipLine ( ) ;
if ( lastc = = - 1 | |
lastc = = list_end | |
( delimit1 ! = - 1 & & lastc = = delimit1 ) | |
( delimit2 ! = - 1 & & lastc = = delimit2 ) | |
( white_delimit & & IsWhite ( lastc ) ) | |
@ -473,10 +471,6 @@ void SpaceParser::ReadValueList()
{
ReadChar ( ) ; // skipping the last list character ')'
SkipWhite ( ) ;
// there cannot be anything after ')' character
if ( lastc ! = - 1 & & lastc ! = ' \n ' )
status = syntax_error ;
}
else
{
@ -491,9 +485,6 @@ void SpaceParser::ReadValueSingle()
ReadToken ( false , true , - 1 , - 1 ) ;
value . push_back ( token ) ;
SkipWhite ( ) ;
if ( lastc ! = - 1 & & lastc ! = ' \n ' )
status = syntax_error ;
}