Skip to content

Commit

Permalink
- Attempt to keep RML happy.
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@20051 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
perost committed Apr 8, 2014
1 parent 0d2aecd commit b67654f
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions Compiler/FrontEnd/ComponentReference.mo
Expand Up @@ -1787,13 +1787,21 @@ algorithm
Integer idx;

case (_, DAE.CREF_QUAL(id, ty, subs, cr))
then DAE.CREF_QUAL(stringAppend(id, inString), ty, subs, cr);
equation
id = stringAppend(id, inString);
then DAE.CREF_QUAL(id, ty, subs, cr);

case (_, DAE.CREF_IDENT(id, ty, subs))
then DAE.CREF_IDENT(stringAppend(id, inString), ty, subs);
equation
id = stringAppend(id, inString);
then
DAE.CREF_IDENT(id, ty, subs);

case (_, DAE.CREF_ITER(id, idx, ty, subs))
then DAE.CREF_ITER(stringAppend(id, inString), idx, ty, subs);
equation
id = stringAppend(id, inString);
then
DAE.CREF_ITER(id, idx, ty, subs);

end match;
end appendStringFirstIdent;
Expand Down

0 comments on commit b67654f

Please sign in to comment.