ecode: Minor fixes.

This commit is contained in:
Martín Lucas Golini
2023-03-30 01:51:17 -03:00
parent 88ca9740bf
commit d0099f2538
2 changed files with 2 additions and 2 deletions

View File

@@ -1791,7 +1791,7 @@ static std::vector<URI> switchHeaderSourceName( const URI& uri ) {
} else if ( FileSystem::fileExtension( uri.getPath() ) == "hh" ) {
return { basePath + ".cc" };
} else if ( FileSystem::fileExtension( uri.getPath() ) == "h" ) {
return { basePath + ".c" };
return { basePath + ".c", basePath + ".cpp" };
}
return {};
}