dynamic parameters #61
@@ -408,9 +408,8 @@ void findParameters(ResultSet& foundParameters,
|
|||||||
|
|
||||||
SgVariableSymb* var_symb = new SgVariableSymb(var_name.c_str());
|
SgVariableSymb* var_symb = new SgVariableSymb(var_name.c_str());
|
||||||
SgVarRefExp* var = new SgVarRefExp(var_symb);
|
SgVarRefExp* var = new SgVarRefExp(var_symb);
|
||||||
SgValueExp* zero = new SgValueExp(1337);
|
|
||||||
SgExprListExp* ex = new SgExprListExp();
|
SgExprListExp* ex = new SgExprListExp();
|
||||||
auto assgn_op = new SgExpression(ASSGN_OP, var, zero);
|
auto assgn_op = new SgExpression(ASSGN_OP, var, NULL);
|
||||||
ex->setLhs(assgn_op);
|
ex->setLhs(assgn_op);
|
||||||
|
|
||||||
SgExpression* parameter_op = new SgExpression(SPF_PARAMETER_OP, ex);
|
SgExpression* parameter_op = new SgExpression(SPF_PARAMETER_OP, ex);
|
||||||
|
|||||||
Reference in New Issue
Block a user