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

Epilogue: improve error message

parent d2ef8446
No related branches found
No related tags found
No related merge requests found
......@@ -331,7 +331,7 @@ Epilogue::checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &war
for (const auto &it : dynamic_def_table)
if (find(so_far_defined.begin(), so_far_defined.end(), it.first) != so_far_defined.end())
{
cerr << "WARNING: in the 'epilogue' block, variable '" << it.first
cerr << "WARNING: in the 'epilogue' block, variable '" << symbol_table.getName(it.first)
<< "' is declared twice" << endl;
exit(EXIT_FAILURE);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment