Skip to content

Commit

Permalink
- prever variable with long names as alias variables and keep variabl…
Browse files Browse the repository at this point in the history
…es with short names in system

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13270 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
Jens Frenkel committed Oct 9, 2012
1 parent 33233fb commit 443ee3e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Compiler/BackEnd/BackendVariable.mo
Expand Up @@ -3835,8 +3835,8 @@ algorithm
b := selfGeneratedVar(cr);
i := intAdd(i,Util.if_(b,100,0));
// length of name (number of dots)
// d := ComponentReference.crefDepth(cr);
// i := i+d;
d := ComponentReference.crefDepth(cr);
i := i+d;
end calcAliasKey;

public function selfGeneratedVar
Expand Down

0 comments on commit 443ee3e

Please sign in to comment.