Skip to content

Commit

Permalink
- rename delteCrefs -> removeCrefs
Browse files Browse the repository at this point in the history
- continue StateSelection 

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@14440 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
Jens Frenkel committed Dec 18, 2012
1 parent 6d103d0 commit 678b292
Show file tree
Hide file tree
Showing 5 changed files with 398 additions and 57 deletions.
13 changes: 12 additions & 1 deletion Compiler/BackEnd/BackendVariable.mo
Expand Up @@ -2601,12 +2601,13 @@ end isTopLevelInputOrOutput;

public function deleteCrefs "function deleteCrefs
author: wbraun
Deletes a list of DAE.ComponentRef from BackendDAE.Variables"
Removes a list of DAE.ComponentRef from BackendDAE.Variables"
input list<DAE.ComponentRef> varlst;
input BackendDAE.Variables vars;
output BackendDAE.Variables vars_1;
algorithm
vars_1 := List.fold(varlst, removeCref, vars);
vars_1 := listVar1(varList(vars_1));
end deleteCrefs;

public function deleteVars "function deleteVars
Expand Down Expand Up @@ -2674,6 +2675,16 @@ algorithm
end match;
end deleteVar;

public function removeCrefs "function removeCrefs
author: wbraun
Removes a list of DAE.ComponentRef from BackendDAE.Variables"
input list<DAE.ComponentRef> varlst;
input BackendDAE.Variables vars;
output BackendDAE.Variables vars_1;
algorithm
vars_1 := List.fold(varlst, removeCref, vars);
end removeCrefs;

public function removeCref
"function: removeCref
author: Frenkel TUD 2012-09
Expand Down

0 comments on commit 678b292

Please sign in to comment.