3 #include "text-stream.hh"
5 Text_stream::Text_stream (String fn)
7 ios::sync_with_stdio ();
17 f = fopen (fn.ch_C (), "r");
23 << ": " << _f ("can't open file: `%s'", fn) << '\n';
31 Text_stream::message (String s)
33 cerr << '\n'<<get_name () << ": " << line ()<<": "<<s<<endl;
41 // !pushback.size () &&
45 Text_stream::~Text_stream ()
48 cerr <<__FUNCTION__<< ": closing unended file";