Skip to content

Commit

Permalink
- Fixed redeclare with qualified crefs in the modifier in SCodeFlatte…
Browse files Browse the repository at this point in the history
…n, which

  broke all MSL 3.2 examples.
- Added a MSL 3.2 example to the test suite.


git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@11157 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
perost committed Feb 16, 2012
1 parent 954bf43 commit ad7d0f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Compiler/FrontEnd/SCodeFlattenRedeclare.mo
Expand Up @@ -612,7 +612,7 @@ protected function prefixCref
input SCodeInst.Prefix inPrefix;
output Absyn.ComponentRef outCref;
algorithm
outCref := match(inCref, inEnv, inPrefix)
outCref := matchcontinue(inCref, inEnv, inPrefix)
local
Absyn.Path path;
String name;
Expand All @@ -638,7 +638,7 @@ algorithm

else inCref;

end match;
end matchcontinue;
end prefixCref;

protected function prefixCref2
Expand Down

0 comments on commit ad7d0f9

Please sign in to comment.