You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Compiler/SimCode/SimCodeUtil.mo
+11-8Lines changed: 11 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -7306,37 +7306,40 @@ public function simVarString
7306
7306
algorithm
7307
7307
s := match(inVar)
7308
7308
local
7309
-
Boolean isProtected;
7309
+
Boolean isProtected,hideResult;
7310
7310
Integer i;
7311
7311
DAE.ComponentRef name, name2;
7312
7312
Option<DAE.Exp> init;
7313
7313
Option<DAE.ComponentRef> arrCref;
7314
7314
Option<Integer> variable_index;
7315
7315
SimCodeVar.AliasVariable aliasvar;
7316
-
String s1, s2, s3, sProt;
7316
+
String s1, s2, s3, sProt, sRes;
7317
7317
list<String> numArrayElement;
7318
-
case (SimCodeVar.SIMVAR(name= name, aliasvar = SimCodeVar.NOALIAS(), index = i, initialValue=init, arrayCref=arrCref, variable_index=variable_index, numArrayElement=numArrayElement, isProtected=isProtected))
7318
+
case (SimCodeVar.SIMVAR(name= name, aliasvar = SimCodeVar.NOALIAS(), index = i, initialValue=init, arrayCref=arrCref, variable_index=variable_index, numArrayElement=numArrayElement, isProtected=isProtected, hideResult=hideResult))
case (SimCodeVar.SIMVAR(name= name, aliasvar = SimCodeVar.NEGATEDALIAS(varName = name2), index = i, initialValue=init, arrayCref=arrCref,variable_index=variable_index, numArrayElement=numArrayElement, isProtected=isProtected))
7335
+
case (SimCodeVar.SIMVAR(name= name, aliasvar = SimCodeVar.NEGATEDALIAS(varName = name2), index = i, initialValue=init, arrayCref=arrCref,variable_index=variable_index, numArrayElement=numArrayElement, isProtected=isProtected, hideResult=hideResult))
0 commit comments