mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
eof
This commit is contained in:
parent
69b33f5190
commit
41bd90118c
@ -95,7 +95,7 @@ private:
|
||||
/// Advances current position by 1 in the input stream.
|
||||
void advance()
|
||||
{
|
||||
solAssert(m_char != m_source.end(), "Cannot advance beyond end.");
|
||||
solAssert(!eof(), "Cannot advance beyond end.");
|
||||
m_char = std::next(m_char, 1);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user