scn parsing with directive and trainset matching

This commit is contained in:
milek7
2019-08-10 12:00:37 +02:00
parent 84d2065a8a
commit da6343166a
4 changed files with 51 additions and 10 deletions

View File

@@ -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