Adjust handling of attribute "depends" in <extension> (#1508)

This commit is contained in:
Andreas Süßenbach 2023-02-16 16:07:33 +01:00 committed by GitHub
parent a3cd63a4e2
commit 7c073da2c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10788,7 +10788,7 @@ void VulkanHppGenerator::readExtensionsExtension( tinyxml2::XMLElement const * e
else if ( ( attribute.first == "depends" ) || ( attribute.first == "requires" ) ) else if ( ( attribute.first == "depends" ) || ( attribute.first == "requires" ) )
{ {
// we don't care about the logical implications of ',' and '+' here, we're just interested to get the depends strings // we don't care about the logical implications of ',' and '+' here, we're just interested to get the depends strings
depends = tokenizeAny( attribute.second, ",+" ); depends = tokenize( attribute.second, "," );
} }
else if ( attribute.first == "requiresCore" ) else if ( attribute.first == "requiresCore" )
{ {