From 49e1c43aed1acd80237d7fe911603ac4dd52d67d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Adjemian=28Charybdis=29?= <stephane.adjemian@univ-lemans.fr> Date: Thu, 19 Jul 2018 23:29:27 +0200 Subject: [PATCH] Partially reverted 19048bdca. There is no reason to associate an exogenous variable or parameter to a specific equation. For these types the user can use the pipe notation (|x, |p) in any equations or the usual parameters and varexo statements. --- src/ParsingDriver.cc | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/ParsingDriver.cc b/src/ParsingDriver.cc index 1192428e..4500c15c 100644 --- a/src/ParsingDriver.cc +++ b/src/ParsingDriver.cc @@ -375,15 +375,7 @@ ParsingDriver::add_equation_tags(string *key, string *value) if (key->compare("endogenous") == 0) declare_or_change_type(SymbolType::endogenous, value); - else if (key->compare("exogenous") == 0) - declare_or_change_type(SymbolType::exogenous, value); - - else if (key->compare("parameter") == 0) - declare_or_change_type(SymbolType::parameter, value); - - if (!(key->compare("endogenous") == 0 - || key->compare("exogenous") == 0 - || key->compare("parameter") == 0)) + if (!(key->compare("endogenous") == 0)) delete value; delete key; -- GitLab