fixed routine convertation
This commit is contained in:
@@ -379,10 +379,10 @@ SgStatement *InsertProcedureCopy(SgStatement *st_header, SgSymbol *sproc, int is
|
||||
}
|
||||
|
||||
swapDimentionsInprivateList();
|
||||
std::vector < std::stack < SgStatement*> > zero = std::vector < std::stack < SgStatement*> >(0);
|
||||
cur_func = after;
|
||||
Translate_Fortran_To_C(new_header, end_st, zero, 0); //TranslateProcedure_Fortran_To_C(after->lexNext());
|
||||
|
||||
//std::vector < std::stack < SgStatement*> > zero = std::vector < std::stack < SgStatement*> >(0);
|
||||
//cur_func = after;
|
||||
Translate_Fortran_To_C(new_header, end_st, 0, st_header); //TranslateProcedure_Fortran_To_C(after->lexNext());
|
||||
cur_func = after;
|
||||
if (sproc->variant() == FUNCTION_NAME)
|
||||
{
|
||||
new_header->insertStmtAfter(*Declaration_Statement(new_sproc), *new_header);
|
||||
|
||||
Reference in New Issue
Block a user