2 #include "text-stream.hh"
4 Text_stream::Text_stream (String fn)
6 ios::sync_with_stdio();
16 f = fopen (fn.ch_C (), "r");
22 << ": " << _f ("Can't open file: `%s'", fn) << '\n';
30 Text_stream::message (String s)
32 cerr << '\n'<<get_name() << ": " << line ()<<": "<<s<<endl;
40 // !pushback.size () &&
44 Text_stream::~Text_stream()
47 cerr <<__FUNCTION__<< ": closing unended file";