diff options
author | Phlosioneer <mattmdrr2@gmail.com> | 2019-03-15 01:19:00 -0400 |
---|---|---|
committer | Phlosioneer <mattmdrr2@gmail.com> | 2019-03-15 01:19:00 -0400 |
commit | 31ded7cc6f40876421c7186e15f8a9fa606ff569 (patch) | |
tree | 831d96edb6d2b4d239affc57ef98d6ccb2f1bccb /tools/scaninc/asm_file.cpp | |
parent | 2e789dbbdc18f56cba62aef51156d44136b20632 (diff) | |
parent | 8e1537fb57dc7ed17079b30f7a3851132cf462bd (diff) |
Merge branch 'master' into pokenav-decomp-again
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++; |