feat(frontend/lean/server.cpp): add "-- BEGININFO" header

This commit is contained in:
Soonho Kong 2014-08-12 17:09:59 -07:00
parent 7d0c0818e5
commit 0ca0ccb77d

View file

@ -156,6 +156,7 @@ void server::show_info(unsigned linenum) {
options const & o = i == 0 ? m_options : m_file->m_snapshots[i-1].m_options; options const & o = i == 0 ? m_options : m_file->m_snapshots[i-1].m_options;
m_ios.set_options(o); m_ios.set_options(o);
io_state_stream out(env, m_ios); io_state_stream out(env, m_ios);
out << "-- BEGININFO" << endl;
m_file->m_info.display(out, linenum); m_file->m_info.display(out, linenum);
out << "-- ENDINFO" << endl; out << "-- ENDINFO" << endl;
} }