1.1 --- a/lemon/error.h Fri Mar 02 17:56:22 2007 +0000
1.2 +++ b/lemon/error.h Fri Mar 02 18:04:28 2007 +0000
1.3 @@ -126,15 +126,15 @@
1.4 ErrorMessage(const ErrorMessage& em) throw() : buf(em.buf) { }
1.5
1.6 ///\e
1.7 - ErrorMessage(const char *message) throw() {
1.8 + ErrorMessage(const char *msg) throw() {
1.9 init();
1.10 - *this << message;
1.11 + *this << msg;
1.12 }
1.13
1.14 ///\e
1.15 - ErrorMessage(const std::string &message) throw() {
1.16 + ErrorMessage(const std::string &msg) throw() {
1.17 init();
1.18 - *this << message;
1.19 + *this << msg;
1.20 }
1.21
1.22 ///\e
1.23 @@ -266,11 +266,11 @@
1.24 : _message(the_message), _line(line_num) { file(file_name); }
1.25
1.26 ///\e
1.27 - void line(int line) { _line = line; }
1.28 + void line(int ln) { _line = ln; }
1.29 ///\e
1.30 - void message(const std::string& message) { _message.set(message); }
1.31 + void message(const std::string& msg) { _message.set(msg); }
1.32 ///\e
1.33 - void file(const std::string &file) { _file.set(file); }
1.34 + void file(const std::string &fl) { _file.set(fl); }
1.35
1.36 ///\e
1.37 int line() const { return _line; }
1.38 @@ -329,12 +329,12 @@
1.39 IoError(foe), _file(foe._file) {}
1.40
1.41 ///\e
1.42 - explicit FileOpenError(const std::string& file)
1.43 - : _file(file) {}
1.44 + explicit FileOpenError(const std::string& fl)
1.45 + : _file(fl) {}
1.46
1.47
1.48 ///\e
1.49 - void file(const std::string &file) { _file.set(file); }
1.50 + void file(const std::string &fl) { _file.set(fl); }
1.51
1.52 /// \brief Returns the filename.
1.53 ///
1.54 @@ -382,9 +382,9 @@
1.55 : _message(the_message), _file(file_name) {}
1.56
1.57 ///\e
1.58 - void message(const std::string& message) { _message.set(message); }
1.59 + void message(const std::string& msg) { _message.set(msg); }
1.60 ///\e
1.61 - void file(const std::string &file) { _file.set(file); }
1.62 + void file(const std::string &fl) { _file.set(fl); }
1.63
1.64 ///\e
1.65 const char* message() const {