Skip to content

Commit

Permalink
- Updated MSL 3.1 to latest maint branch
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@12642 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Aug 23, 2012
1 parent 52cadd2 commit f264dee
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Compiler/FrontEnd/DAEDump.mo
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ protected import ComponentReference;
protected import Config;
protected import DAEUtil;
protected import Debug;
protected import Error;
protected import Print;
protected import Util;
protected import Expression;
Expand Down Expand Up @@ -1581,13 +1582,15 @@ algorithm
DAE.Statement stmt;
DAE.Type ty;
Algorithm.Else else_;
DAE.ElementSource source;

case (DAE.STMT_ASSIGN(exp1 = e2,exp = e),i)
case (DAE.STMT_ASSIGN(exp1 = e2,exp = e,source = source),i)
equation
indent(i);
ExpressionDump.printExp(e2);
Print.printBuf(" := ");
ExpressionDump.printExp(e);
Print.printBuf(Util.if_(Config.typeinfo(), " /* " +& Error.infoStr(DAEUtil.getElementSourceFileInfo(source)) +& " */", ""));
Print.printBuf(";\n");
then
();
Expand Down

0 comments on commit f264dee

Please sign in to comment.