Skip to content

Commit

Permalink
Print messages in the right order in getMessageStr().
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@6450 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
Daniel Hedberg committed Oct 19, 2010
1 parent c18689a commit 1426014
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/runtime/errorext.cpp
Expand Up @@ -472,7 +472,7 @@ extern "C"
{
std::string res("{");
while(!errorMessageQueue.empty()) {
res = res + errorMessageQueue.top()->getFullMessage();
res = errorMessageQueue.top()->getFullMessage() + res;
delete errorMessageQueue.top();
errorMessageQueue.pop();
if (!errorMessageQueue.empty()) { res = res + string(","); }
Expand Down

0 comments on commit 1426014

Please sign in to comment.