JSON output: fix several bugs related to switch/case fallthrough
parent
ae97c4eb29
commit
701db61e09
|
@ -1736,6 +1736,7 @@ EstimatedParamsBoundsStatement::writeJsonOutput(ostream &output) const
|
|||
{
|
||||
case 1:
|
||||
output << R"("var": ")" << it->name << R"(")";
|
||||
break;
|
||||
case 2:
|
||||
output << R"("param": ")" << it->name << R"(")";
|
||||
break;
|
||||
|
@ -1833,6 +1834,7 @@ EstimatedParamsRemoveStatement::writeJsonOutput(ostream &output) const
|
|||
{
|
||||
case 1:
|
||||
output << R"("var": ")" << it->name << R"(")";
|
||||
break;
|
||||
case 2:
|
||||
output << R"("param": ")" << it->name << R"(")";
|
||||
break;
|
||||
|
|
|
@ -2471,6 +2471,7 @@ UnaryOpNode::writeJsonAST(ostream &output) const
|
|||
break;
|
||||
case UnaryOpcode::steadyState:
|
||||
output << "steady_state";
|
||||
break;
|
||||
case UnaryOpcode::steadyStateParamDeriv:
|
||||
output << "steady_state_param_deriv";
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue