diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2020-11-18 22:10:33 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-18 22:10:33 -0500 |
commit | c0e3c71673b12ce8380f0c0f189398c7c535493c (patch) | |
tree | 84903a8186588d6a8e14813885f848299302096e /tools/scaninc/scaninc.cpp | |
parent | 0aa06c307b5e465e0ada51cebe3ae2b2759a863f (diff) | |
parent | 70b6e05a47fc2e38d4f90cc2145f4d3d23a92793 (diff) |
Merge pull request #1252 from luckytyphlosion/master
Missing inc files in asm/*.s and data/*.s will raise an actual error message.
Diffstat (limited to 'tools/scaninc/scaninc.cpp')
-rw-r--r-- | tools/scaninc/scaninc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/scaninc/scaninc.cpp b/tools/scaninc/scaninc.cpp index a3e40c5d9..dcb16c0e7 100644 --- a/tools/scaninc/scaninc.cpp +++ b/tools/scaninc/scaninc.cpp @@ -108,7 +108,7 @@ int main(int argc, char **argv) break; } } - if (!exists && file.FileType() == SourceFileType::Asm) + if (!exists && (file.FileType() == SourceFileType::Asm || file.FileType() == SourceFileType::Inc)) { path = include; } |