JSON: incorrect printing of expressions for parameter initializations.
Created by: albop
When parameter initializations contains expressions, symbols are replaced by references to M_.params
instead of symbol name.
For instance, in example1.mod
if we replace line rho = 0.95;
by rho = 0.95+alpha*0.00001;
we currently get:
{"statementName": "param_init", "name": "rho", "value": "0.95+M_.params(3)*0.00001"}
instead of:
{"statementName": "param_init", "name": "rho", "value": "0.95+alpha*0.00001"}
It works correctly for variable initializations.