FileReader: Normalize base path and strip it from normalized source paths

This commit is contained in:
Kamil Śliwak
2021-08-27 15:10:46 +02:00
parent 2d3ec69a05
commit 13f46ebb1e
8 changed files with 797 additions and 62 deletions
+1 -1
View File
@@ -451,7 +451,7 @@ bool CommandLineInterface::readInputFiles()
m_standardJsonInput = readUntilEnd(m_sin);
}
else
m_fileReader.setSource(g_stdinFileName, readUntilEnd(m_sin));
m_fileReader.setStdin(readUntilEnd(m_sin));
}
if (m_fileReader.sourceCodes().empty() && !m_standardJsonInput.has_value())