summaryrefslogtreecommitdiff
path: root/tools/scaninc/asm_file.cpp
diff options
context:
space:
mode:
authorPhlosioneer <mattmdrr2@gmail.com>2019-03-08 02:45:26 -0500
committerPhlosioneer <mattmdrr2@gmail.com>2019-03-08 02:45:26 -0500
commit5886f82ef5593fda68687c2e44b2feef76028ce3 (patch)
tree99c243e92cae64a2b60b5c4b86e161db9072a7b0 /tools/scaninc/asm_file.cpp
parent80a4ee11457e82092f52a3aef5362f8b59b68633 (diff)
parentbd157b301dea3526a4c373737dc8167d9a02b168 (diff)
Merge branch 'master' into extern-cleanup
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++;