Skip to content
Snippets Groups Projects
Commit 7a67a3fe authored by MichelJuillard's avatar MichelJuillard
Browse files

Julia doesn't impose order in initval/endval blocks

parent e751ecd3
No related branches found
No related tags found
No related merge requests found
......@@ -189,12 +189,14 @@ void
InitValStatement::checkPass([[maybe_unused]] ModFileStructure& mod_file_struct,
[[maybe_unused]] WarningConsolidation& warnings)
{
/* Julia: doesn't impose the order in intival and endval blocks
if (mod_file_struct.endval_present)
{
cerr << "ERROR: an 'initval' block cannot appear after an 'endval' block" << endl; // See #104
exit(EXIT_FAILURE);
}
*/
set<int> exogs = getUninitializedVariables(SymbolType::exogenous);
set<int> endogs = getUninitializedVariables(SymbolType::endogenous);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment