Skip to content

Commit

Permalink
- Tail-recursion
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@14114 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Nov 28, 2012
1 parent ffc2cc5 commit 93b6717
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Compiler/FrontEnd/ConnectUtil.mo
Original file line number Diff line number Diff line change
Expand Up @@ -2158,7 +2158,7 @@ protected function getAllEquCrefs
input list<DAE.ComponentRef> inAcc;
output list<DAE.ComponentRef> outCrefs;
algorithm
outCrefs := matchcontinue(inSets, inAcc)
outCrefs := match (inSets, inAcc)
local
list<Set> rest;
list<ConnectorElement> elms;
Expand Down Expand Up @@ -2187,7 +2187,7 @@ algorithm
*/
case (_::rest, _)
then getAllEquCrefs(rest, inAcc);
end matchcontinue;
end match;
end getAllEquCrefs;

protected function generateSetArray
Expand Down

0 comments on commit 93b6717

Please sign in to comment.