Cache lines in Lexer and show original input when running into an error

This commit is contained in:
Jan
2021-02-13 23:16:19 +01:00
parent 40fedc905d
commit 216125739c
19 changed files with 283 additions and 116 deletions

View File

@ -63,6 +63,11 @@ bool CommentRemovingStreamProxy::IncludeFile(const std::string& filename)
return m_stream->IncludeFile(filename);
}
void CommentRemovingStreamProxy::PopCurrentFile()
{
m_stream->PopCurrentFile();
}
bool CommentRemovingStreamProxy::IsOpen() const
{
return m_stream->IsOpen();