Skip to content

Commit

Permalink
Emit protected variables with HideResult=false, ticket:4089
Browse files Browse the repository at this point in the history
  • Loading branch information
rfranke authored and OpenModelica-Hudson committed Oct 24, 2016
1 parent 6d02154 commit c58bee3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SimulationRuntime/c/simulation/simulation_input_xml.c
Expand Up @@ -608,7 +608,7 @@ void read_input_xml(MODEL_DATA* modelData,
{ \
out[j].filterOutput = 1; \
} \
else if (!omc_flag[FLAG_EMIT_PROTECTED] && 0 == strcmp(findHashStringString(v, "isProtected"), "true")) \
else if (!omc_flag[FLAG_EMIT_PROTECTED] && 0 == strcmp(findHashStringString(v, "isProtected"), "true") && 0 == strcmp(findHashStringString(v, "hideResult"), "true")) \
{ \
infoStreamPrint(LOG_DEBUG, 0, "filtering protected variable %s", info->name); \
out[j].filterOutput = 1; \
Expand Down

0 comments on commit c58bee3

Please sign in to comment.