Skip to content

Commit

Permalink
- use the size instead of the Absyn.path in ExpressionDump.dimensionS…
Browse files Browse the repository at this point in the history
…tring()

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@22979 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
Volker Waurich committed Oct 27, 2014
1 parent f837a7b commit 5b0863d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Compiler/FrontEnd/ExpressionDump.mo
Expand Up @@ -1650,12 +1650,13 @@ algorithm
Integer x;
Absyn.Path p;
DAE.Exp e;

Integer size;
case DAE.DIM_UNKNOWN() then ":";

case DAE.DIM_ENUM(enumTypeName = p)
case DAE.DIM_ENUM(enumTypeName = p, size =size)
equation
s = Absyn.pathString(p);
//s = Absyn.pathString(p);
s = intString(size);
then
s;

Expand Down

0 comments on commit 5b0863d

Please sign in to comment.