Skip to content

Commit

Permalink
- fix RML weirdness.
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@7215 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adrpo committed Nov 26, 2010
1 parent 3b3fa1d commit f45d17e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Compiler/Static.mo
Expand Up @@ -11926,6 +11926,7 @@ algorithm
list<Absyn.Subscript> ss;
Boolean impl;
DAE.ComponentRef cr;
Absyn.ComponentRef absynCr;
DAE.ExpType ty;
list<DAE.Subscript> ss_1;
Absyn.ComponentRef subs,acr;
Expand Down Expand Up @@ -11985,9 +11986,9 @@ algorithm
then
(cache,ComponentReference.makeCrefQual(id,ty,ss_1,cr),const);

case (cache, env, Absyn.CREF_FULLYQUALIFIED(componentRef = cr), crefPrefix, impl, info)
case (cache, env, Absyn.CREF_FULLYQUALIFIED(componentRef = absynCr), crefPrefix, impl, info)
equation
(cache, cr, const1) = elabCrefSubs(cache, env, cr, crefPrefix, impl, info);
(cache, cr, const1) = elabCrefSubs(cache, env, absynCr, crefPrefix, impl, info);
then
(cache, cr, const1);

Expand Down

0 comments on commit f45d17e

Please sign in to comment.