mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01:00
scn parsing with directive and trainset matching
This commit is contained in:
@@ -231,7 +231,7 @@ std::string cParser::readToken( bool ToLower, const char *Break ) {
|
||||
}
|
||||
}
|
||||
|
||||
if( token == "include" ) {
|
||||
if( expandIncludes && token == "include" ) {
|
||||
// launch child parser if include directive found.
|
||||
// NOTE: parameter collecting uses default set of token separators.
|
||||
std::string includefile = readToken(ToLower); // nazwa pliku
|
||||
|
||||
Reference in New Issue
Block a user