4 #include "data-file.hh"
7 Data_file::gobble_white()
11 while ((c
=data_get()) == ' ' ||c
== '\t')
20 {// should handle escape seq's
27 if (isspace (c
) || eof())
38 while ((c
= data_get()) != '\"')
40 error ("EOF in a string");
55 Only class member who uses text_file::get
58 Data_file::data_get() {
60 if (!rawmode
&& c
== '#') // gobble comment
62 while ((c
= get()) != '\n' && !eof ())
70 /// read line, gobble '\n'
71 String
Data_file::get_line()
76 while ((c
= data_get()) != '\n' && !eof ())
81 /// gobble stuff before first entry on a line.
83 Data_file::gobble_leading_white()