mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01:00
more complete parsing of .fiz data files
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user