mirror of
https://github.com/pret/pokediamond.git
synced 2026-09-08 17:16:26 -05:00
Module 01 static initializer; split module 04 ro/data
This commit is contained in:
@@ -31,7 +31,7 @@ SourceFileType GetFileType(std::string& path)
|
||||
|
||||
std::string extension = path.substr(pos + 1);
|
||||
|
||||
if (extension == "c")
|
||||
if (extension == "c" || extension == "cpp")
|
||||
return SourceFileType::Cpp;
|
||||
else if (extension == "s")
|
||||
return SourceFileType::Asm;
|
||||
|
||||
Reference in New Issue
Block a user