Overhaul scaninc to work recursively
This also fixes the bug where scaninc would ignore #include lines in assembly files.
This commit is contained in:
1 parent
0081474018
commit
105e1721d6
10 files changed
+238
-71
No files matched your search
@@ -64,7 +64,8 @@ IncDirectiveType AsmFile::ReadUntilIncDirective(std::string &path)
|
||||
|
||||
IncDirectiveType incDirectiveType = IncDirectiveType::None;
|
||||
|
||||
if (PeekChar() == '.')
|
||||
char c = PeekChar();
|
||||
if (c == '.' || c == '#')
|
||||
{
|
||||
m_pos++;
|
||||
|
||||
|
||||
Reference in new issue
Block a user