From 7f920b887f9a060524347b4cc3a5e3f3abdd3b03 Mon Sep 17 00:00:00 2001 From: scnorton Date: Tue, 9 Apr 2019 10:04:41 -0400 Subject: Add mapjson; update gbagfx, scaninc --- tools/scaninc/asm_file.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tools/scaninc/asm_file.cpp') 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++; -- cgit v1.2.3