more complete parsing of .fiz data files

This commit is contained in:
tmj-fstate
2017-01-22 00:08:53 +01:00
parent 8f2f3b9889
commit 538d130617
7 changed files with 1045 additions and 682 deletions

View File

@@ -79,6 +79,10 @@ bool cParser::getTokens(int Count, bool ToLower, const char *Break)
for (i = 0; i < Count; ++i)
{
std::string string = readToken(ToLower, Break);
if( true == string.empty() ) {
// no more tokens
break;
}
// collect parameters
if (i == 0)
this->str(string);