preprocessor: special output for power deriv in JSON
parent
fb6a11f544
commit
27dd46dab0
|
@ -3330,6 +3330,16 @@ BinaryOpNode::writeJsonOutput(ostream &output,
|
|||
return;
|
||||
}
|
||||
|
||||
if (op_code == oPowerDeriv)
|
||||
{
|
||||
output << "get_power_deriv(";
|
||||
arg1->writeJsonOutput(output, temporary_terms, tef_terms);
|
||||
output << ",";
|
||||
arg2->writeJsonOutput(output, temporary_terms, tef_terms);
|
||||
output << "," << powerDerivOrder << ")";
|
||||
return;
|
||||
}
|
||||
|
||||
int prec = precedenceJson(temporary_terms);
|
||||
|
||||
bool close_parenthesis = false;
|
||||
|
|
Loading…
Reference in New Issue