summaryrefslogtreecommitdiff
path: root/tools/scaninc/asm_file.cpp
diff options
context:
space:
mode:
authorscnorton <scnorton@biociphers.org>2019-04-09 10:04:41 -0400
committerscnorton <scnorton@biociphers.org>2019-04-09 10:04:41 -0400
commit7f920b887f9a060524347b4cc3a5e3f3abdd3b03 (patch)
tree18e348b765119854e16486575dec5df0347b412e /tools/scaninc/asm_file.cpp
parentd0a68de6e0606617027ab0437f2da1a414deb2da (diff)
Add mapjson; update gbagfx, scaninc
Diffstat (limited to 'tools/scaninc/asm_file.cpp')
-rw-r--r--tools/scaninc/asm_file.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/scaninc/asm_file.cpp b/tools/scaninc/asm_file.cpp
index 6322749e2..109e604a2 100644
--- a/tools/scaninc/asm_file.cpp
+++ b/tools/scaninc/asm_file.cpp
@@ -64,7 +64,8 @@ IncDirectiveType AsmFile::ReadUntilIncDirective(std::string &path)
IncDirectiveType incDirectiveType = IncDirectiveType::None;
- if (PeekChar() == '.')
+ char c = PeekChar();
+ if (c == '.' || c == '#')
{
m_pos++;