@@ -286,7 +286,7 @@ case SIMCODE(modelInfo=MODELINFO(__),simulationSettingsOpt = SOME(settings as SI
286286 void writeParametertNames(vector< string> & names);
287287 void writeIntParameterNames(vector< string> & names);
288288 void writeBoolParameterNames(vector< string> & names);
289-
289+
290290
291291 void writeAlgVarsResultDescription(vector< string> & names);
292292 void writeDiscreteAlgVarsResultDescription(vector< string> & names);
@@ -300,7 +300,7 @@ case SIMCODE(modelInfo=MODELINFO(__),simulationSettingsOpt = SOME(settings as SI
300300 void writeParameterDescription(vector< string> & names);
301301 void writeIntParameterDescription(vector< string> & names);
302302 void writeBoolParameterDescription(vector< string> & names);
303-
303+
304304 HistoryImplType* _historyImpl;
305305 } ;
306306 >>
@@ -5342,7 +5342,7 @@ case modelInfo as MODELINFO(vars=SIMVARS(__)) then
53425342 ' "<%crefStr(name)%>"' ;separator= " ," ;align= 10;alignSeparator= " ;\n names += " )%> ;' %>
53435343 }
53445344
5345-
5345+
53465346 void <%lastIdentOfPath(modelInfo.name)%>WriteOutput::writeAliasVarsResultNames(vector<string>& names)
53475347 {
53485348 <% if protectedVars(vars.aliasVars) then
@@ -5401,7 +5401,7 @@ case modelInfo as MODELINFO(vars=SIMVARS(__)) then
54015401 ' names += <% (vars.boolParamVars |> SIMVAR(isProtected= false ) =>
54025402 ' "<%crefStr(name)%>"' ;separator= " ," ;align= 10;alignSeparator= " ;\n names += " )%> ;' %>
54035403 }
5404-
5404+
54055405
54065406
54075407 void <%lastIdentOfPath(modelInfo.name)%>WriteOutput::writeAlgVarsResultDescription(vector<string>& description)
@@ -5431,7 +5431,7 @@ case modelInfo as MODELINFO(vars=SIMVARS(__)) then
54315431 ' "<%Util.escapeModelicaStringToCString(comment)%>"' ;separator= " ," ;align= 10;alignSeparator= " ;\n description += " )%> ;' %>
54325432 }
54335433
5434-
5434+
54355435
54365436 void <%lastIdentOfPath(modelInfo.name)%>WriteOutput::writeAliasVarsResultDescription(vector<string>& description)
54375437 {
@@ -5491,7 +5491,7 @@ case modelInfo as MODELINFO(vars=SIMVARS(__)) then
54915491 ' "<%Util.escapeModelicaStringToCString(comment)%>"' ;separator= " ," ;align= 10;alignSeparator= " ;\n names += " )%> ;' %>
54925492 }
54935493
5494-
5494+
54955495
54965496
54975497 >>
@@ -5836,11 +5836,11 @@ case MODELINFO(vars=SIMVARS(__)) then
58365836 <%vars.discreteAlgVars |> SIMVAR(isProtected=false) hasindex i0 =>' v(discrAlgVarsStart+<% i0%> )=<% cref(name, useFlatArrayNotation)%> ;' ;align=8 %>
58375837 <%vars.intAlgVars |> SIMVAR(isProtected=false) hasindex i1 =>' v(intAlgVarsStart+<% i1%> )=<% cref(name, useFlatArrayNotation)%> ;' ;align=8%>
58385838 <%vars.boolAlgVars |> SIMVAR(isProtected=false) hasindex i2 =>' v(boolAlgVarsStart+<% i2%> )=<% cref(name, useFlatArrayNotation)%> ;' ;align=8 %>
5839-
5839+
58405840 <%vars.aliasVars |> SIMVAR(isProtected=false) hasindex i5 =>' v(aliasVarsStart+<% i5%> )=<% getAliasVar(aliasvar, simCode,contextOther, useFlatArrayNotation)%> ;' ;align=8 %>
58415841 <%vars.intAliasVars |> SIMVAR(isProtected=false) hasindex i6 =>' v(intAliasVarsStart+<% i6%> )=<% getAliasVar(aliasvar, simCode,contextOther, useFlatArrayNotation)%> ;' ;align=8 %>
58425842 <%vars.boolAliasVars |> SIMVAR(isProtected=false) hasindex i7 =>' v(boolAliasVarsStart+<% i7%> )=<% getAliasVar(aliasvar, simCode,contextOther, useFlatArrayNotation)%> ;' ;align=8 %>
5843-
5843+
58445844 <%(vars.stateVars |> SIMVAR() hasindex i8 =>' v(stateVarsStart+<% i8%> )=__z[<% index%> ]; ' ;align=8 )%>
58455845 <%(vars.derivativeVars |> SIMVAR() hasindex i9 =>' v2(<% i9%> )=__zDot[<% index%> ]; ' ;align=8 )%>
58465846 >>
@@ -6515,7 +6515,7 @@ case CREF_QUAL(ident = "$PRE") then
65156515 else
65166516 let &varDeclsCref = buffer "" /*BUFD*/
65176517 match context
6518- case FUNCTION_CONTEXT(__) then System.unquoteIdentifier(crefStr(cr))
6518+ case FUNCTION_CONTEXT(__) then System.unquoteIdentifier(crefStr(cr))
65196519 else '<%cref1(cr,simCode,context,varDeclsCref,useFlatArrayNotation)%>'
65206520end contextCref;
65216521
0 commit comments