Skip to content

Commit

Permalink
- Changed SimCodeCTest to SimCodeTest
Browse files Browse the repository at this point in the history
  - It is more extensive; a lot more external functions
  - It also covers the DAE to SimCode translation (for functions)


git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@7016 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Nov 14, 2010
1 parent be0db62 commit 395b6f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Compiler/runtime/Error_omc.cpp
Expand Up @@ -42,11 +42,11 @@ void Error_addMessage(int errorID, const char* msg_type, const char* severity, c
std::list<std::string> tokens;
if (error_on) {
while(MMC_GETHDR(tokenlst) != MMC_NILHDR) {
tokens.push_back(string(MMC_STRINGDATA(MMC_CAR(tokenlst))));
const char* token = MMC_STRINGDATA(MMC_CAR(tokenlst));
tokens.push_back(string(token));
tokenlst=MMC_CDR(tokenlst);
}
add_message(errorID,msg_type,severity,message,tokens);
printf(" Adding message, size: %ld, %s\n",errorMessageQueue.size(),message);
}
}

Expand Down

0 comments on commit 395b6f2

Please sign in to comment.