char const *end_;
Source_file *source_file_;
public:
- static const char type_p_name_[];
+ static const char * const type_p_name_;
int print_smob (SCM, scm_print_state *) const;
static SCM equal_p (SCM, SCM);
SCM mark_smob () const;
char const *end () const;
void set (Source_file *, char const *, char const *);
- void error (const std::string&) const;
- void programming_error (const std::string&) const;
- void non_fatal_error (const std::string&) const;
- void warning (const std::string&) const;
- void message (const std::string&) const;
- void debug_output (const std::string&) const;
+ void error (const string&) const;
+ void programming_error (const string&) const;
+ void non_fatal_error (const string&) const;
+ void warning (const string&) const;
+ void message (const string&) const;
+ void debug_output (const string&) const;
void set_spot (Input const &);
void step_forward ();
void set_location (Input const &, Input const &);
Input spot () const;
- std::string location_string () const;
- std::string line_number_string () const;
- std::string file_string ()const;
+ string location_string () const;
+ string line_number_string () const;
+ string file_string ()const;
int line_number ()const;
int column_number ()const;
Input (Input const &i);
Input ();
protected:
- std::string message_location () const;
- std::string message_string (const std::string &msg) const;
+ string message_location () const;
+ string message_string (const string &msg) const;
};
extern Input dummy_input_global;