Skip to content
Snippets Groups Projects
Commit 572f7188 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Preprocessor: add "noreturn" attribute to ParsingDriver::error, to remove some...

Preprocessor: add "noreturn" attribute to ParsingDriver::error, to remove some warnings about unitialized variables
parent 044e3a96
Branches
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment