Skip to content

Commit

Permalink
Update component comment when component contains dimensions.
Browse files Browse the repository at this point in the history
  • Loading branch information
adeas31 committed Oct 24, 2015
1 parent 7f4c001 commit f65e383
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/Script/Interactive.mo
Expand Up @@ -10526,7 +10526,7 @@ algorithm
Absyn.ComponentItem c;
case ((Absyn.COMPONENTITEM(component = Absyn.COMPONENT(name = id,arrayDim = ad,modification = mod),condition = cond,comment = compcmt) :: cs),cr,cmt)
equation
true = Absyn.crefEqual(Absyn.CREF_IDENT(id,ad), cr);
true = Absyn.crefEqual(Absyn.CREF_IDENT(id,{}), cr);
compcmt_1 = setClassCommentInCommentOpt(compcmt, cmt);
then
(Absyn.COMPONENTITEM(Absyn.COMPONENT(id,ad,mod),cond,compcmt_1) :: cs);
Expand Down

0 comments on commit f65e383

Please sign in to comment.