diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2021-01-19 02:17:21 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-19 02:17:21 -0500 |
commit | 419c897292dbfbc4f6d43880eb94597987e09e2c (patch) | |
tree | 36094eda149165d0e4dad545924b95f582d83838 /tools/scaninc/source_file.cpp | |
parent | ac62e8e563f9e74493a394a21c1bd8fa1570b184 (diff) | |
parent | a52d6e43794e0fa773f10dcebb820bd2bca8fc40 (diff) |
Merge pull request #380 from GriffinRichards/sync-scaninc
Sync tools with pokeemerald
Diffstat (limited to 'tools/scaninc/source_file.cpp')
-rw-r--r-- | tools/scaninc/source_file.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/scaninc/source_file.cpp b/tools/scaninc/source_file.cpp index f23ff6db6..df31282f8 100644 --- a/tools/scaninc/source_file.cpp +++ b/tools/scaninc/source_file.cpp @@ -89,6 +89,11 @@ SourceFile::SourceFile(std::string path) } } +SourceFileType SourceFile::FileType() +{ + return m_file_type; +} + SourceFile::~SourceFile() { if (m_file_type == SourceFileType::Cpp || m_file_type == SourceFileType::Header) |