Add support for multiple decl in the 2nd loop of codeGenTransaction