Skip to content

Commit

Permalink
fixed errors for revision r8974
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@9074 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
Dongliang Li authored and Dongliang Li committed May 23, 2011
1 parent b9f8fd8 commit b1f67dd
Show file tree
Hide file tree
Showing 5 changed files with 1,537 additions and 686 deletions.
19 changes: 19 additions & 0 deletions Compiler/BackEnd/BackendDump.mo
Expand Up @@ -492,6 +492,25 @@ algorithm
end matchcontinue;
end dumpBackendDAEEqnList2;

public function dumpZcStr1 ""
input list<BackendDAE.ZeroCrossing> zero_crossings;
output String outString;
algorithm outString := matchcontinue(zero_crossings)
local
BackendDAE.ZeroCrossing vf;
String s1,s2,s3;
list<BackendDAE.ZeroCrossing> rest;
case({}) then "";
case( vf::rest )
equation
s1= dumpZcStr(vf);
s2= dumpZcStr1(rest);
s3 = stringAppendList({s1,"\n", s2 });
then
s3;
end matchcontinue;
end dumpZcStr1;

public function dumpZcStr
"function: dumpZcStr
Dumps a zerocrossing into a string, for debugging purposes."
Expand Down

0 comments on commit b1f67dd

Please sign in to comment.