mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01:00
Merge commit 'd8170c932b448ba6888e702746b5ae22632062d8' into sim
This commit is contained in:
@@ -248,8 +248,8 @@ std::string cParser::readToken( bool ToLower, const char *Break ) {
|
||||
std::string includefile = readToken(ToLower); // nazwa pliku
|
||||
std::replace(includefile.begin(), includefile.end(), '\\', '/');
|
||||
if( ( true == LoadTraction )
|
||||
|| ( ( includefile.find( "tr/" ) == std::string::npos )
|
||||
&& ( includefile.find( "tra/" ) == std::string::npos ) ) ) {
|
||||
|| ( ( false == contains( includefile, "tr/" ) )
|
||||
&& ( false == contains( includefile, "tra/" ) ) ) ) {
|
||||
mIncludeParser = std::make_shared<cParser>( includefile, buffer_FILE, mPath, LoadTraction, readParameters( *this ) );
|
||||
mIncludeParser->autoclear( m_autoclear );
|
||||
if( mIncludeParser->mSize <= 0 ) {
|
||||
@@ -268,8 +268,8 @@ std::string cParser::readToken( bool ToLower, const char *Break ) {
|
||||
cParser includeparser( token.substr( 7 ) );
|
||||
std::string includefile = includeparser.readToken( ToLower ); // nazwa pliku
|
||||
if( ( true == LoadTraction )
|
||||
|| ( ( includefile.find( "tr/" ) == std::string::npos )
|
||||
&& ( includefile.find( "tra/" ) == std::string::npos ) ) ) {
|
||||
|| ( ( false == contains( includefile, "tr/" ) )
|
||||
&& ( false == contains( includefile, "tra/" ) ) ) ) {
|
||||
mIncludeParser = std::make_shared<cParser>( includefile, buffer_FILE, mPath, LoadTraction, readParameters( includeparser ) );
|
||||
mIncludeParser->autoclear( m_autoclear );
|
||||
if( mIncludeParser->mSize <= 0 ) {
|
||||
|
||||
Reference in New Issue
Block a user