diff options
author | Phlosioneer <mattmdrr2@gmail.com> | 2019-03-08 02:27:20 -0500 |
---|---|---|
committer | Phlosioneer <mattmdrr2@gmail.com> | 2019-03-08 02:27:20 -0500 |
commit | b93d9238261edc6250f5f7bebe8b54643359729a (patch) | |
tree | 7f7a15f04f40a5c811dac3546a98d3ecd7858c81 /tools/scaninc/asm_file.cpp | |
parent | eac70acab65dea005da2299e4bb209aff1ded60f (diff) | |
parent | bd157b301dea3526a4c373737dc8167d9a02b168 (diff) |
Merge branch 'master' into move-tutor
Diffstat (limited to 'tools/scaninc/asm_file.cpp')
-rw-r--r-- | tools/scaninc/asm_file.cpp | 3 |
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++; |