fix(frontends/lean/scanner): initialize m_pos
This commit is contained in:
parent
7543d9e050
commit
c55579dd69
1 changed files with 1 additions and 0 deletions
|
|
@ -646,6 +646,7 @@ scanner::scanner(std::istream & strm, char const * strm_name):
|
|||
m_last_line = false;
|
||||
fetch_line();
|
||||
m_line = m_sline;
|
||||
m_pos = 0;
|
||||
}
|
||||
|
||||
scanner::scanner(std::istream & strm, char const * strm_name, pos_info const & skip_to_pos) :
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue