Skip to content

Commit

Permalink
- Disable SCodeLookup.crefStripEnvPrefix when the scodeInst flag is u…
Browse files Browse the repository at this point in the history
…sed.

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@14025 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
perost committed Nov 22, 2012
1 parent ff8dbda commit 7868d92
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Compiler/FrontEnd/SCodeLookup.mo
Original file line number Diff line number Diff line change
Expand Up @@ -1554,6 +1554,9 @@ algorithm

case (_, _)
equation
// Don't do this if +d=scodeInst is used, it messed up the new
// instantiation which handles this correctly.
false = Flags.isSet(Flags.SCODE_INST);
env_path = SCodeEnv.getEnvPath(inEnv);
cref = Absyn.unqualifyCref(inCref);
then
Expand Down

0 comments on commit 7868d92

Please sign in to comment.