2 // binary-source-file.hh -- declare Binary_source_file
4 // (c) 1997--2004 Jan Nieuwenhuizen <janneke@gnu.org>
6 #ifndef BINARY_SOURCE_FILE_HH
7 #define BINARY_SOURCE_FILE_HH
9 #include "source-file.hh"
11 class Binary_source_file : public Source_file
14 Binary_source_file (String& file_name_string );
15 virtual ~Binary_source_file ();
20 Byte get_Byte () {return get_U8 (); }
21 int get_int () { return get_U32 (); }
23 virtual String error_string (char const* pos_str0 ) const;
24 virtual int get_line (char const* pos_str0 ) const;
27 #endif // BINARY_SOURCE_FILE_HH