Skip to content

Commit

Permalink
- Merged testsuite/mathcore-mofiles with testsuite/mofiles.
Browse files Browse the repository at this point in the history
- Moved testsuite/mathcore-mofiles/drmodelica to testsuite/mofiles/drmodelica,
  and removed testcases from testsuite/mofiles that were already in drmodelica.
- Added all missing test cases to testsuite/mofiles/Makefile.
- Updated testsuite/Makefile to reflect these changes.
- Added a case for the return statement in DAEUtil.ppStmt.


git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@5453 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
perost committed May 6, 2010
1 parent 009db39 commit f3009d4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Compiler/DAEUtil.mo
Expand Up @@ -2981,6 +2981,12 @@ algorithm
Print.printBuf(");\n");
then
();
case (DAE.STMT_RETURN(),i)
equation
indent(i);
Print.printBuf("return;\n");
then
();
case (DAE.STMT_BREAK(),i)
equation
indent(i);
Expand Down

0 comments on commit f3009d4

Please sign in to comment.