Preprocessor: add "noreturn" attribute to ParsingDriver::error, to remove some warnings about unitialized variables

issue#70
Sébastien Villemot 2011-01-13 19:04:40 +01:00
parent 9e189d6b4d
commit e74c283579
1 changed files with 2 additions and 2 deletions

View File

@ -183,9 +183,9 @@ public:
EstimationParams estim_params;
//! Error handler with explicit location
void error(const Dynare::parser::location_type &l, const string &m);
void error(const Dynare::parser::location_type &l, const string &m) __attribute__ ((noreturn));
//! Error handler using saved location
void error(const string &m);
void error(const string &m) __attribute__ ((noreturn));
//! Warning handler using saved location
void warning(const string &m);