diff options
author | luckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com> | 2020-11-12 11:04:38 -0500 |
---|---|---|
committer | luckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com> | 2020-11-12 11:04:38 -0500 |
commit | 5029c909797ec6a8b89124c76b3c6d34440d099d (patch) | |
tree | 4796058c743200416bb59a7cc02b0a98c99ea24a /tools/scaninc/scaninc.cpp | |
parent | 8a780977a8dd4b6990dc09aa4f5e7cb3782123c7 (diff) |
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; } |