Module 01 static initializer; split module 04 ro/data

This commit is contained in:
PikalaxALT
2020-05-09 16:09:08 -04:00
parent d23c7d311b
commit aa6e5b3edc
11 changed files with 108 additions and 40 deletions

View File

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