improved Sage, fixed dedlock

This commit is contained in:
ALEXks
2023-12-06 11:55:35 +03:00
parent f08f46a536
commit 09c7885849
8 changed files with 13592 additions and 13585 deletions

View File

@@ -243,9 +243,9 @@ public:
inline void replaceSymbBySymb(SgSymbol &symb, SgSymbol &newsymb); inline void replaceSymbBySymb(SgSymbol &symb, SgSymbol &newsymb);
inline void replaceSymbBySymbSameName(SgSymbol &symb, SgSymbol &newsymb); inline void replaceSymbBySymbSameName(SgSymbol &symb, SgSymbol &newsymb);
inline void replaceTypeInStmt(SgType &old, SgType &newtype); inline void replaceTypeInStmt(SgType &old, SgType &newtype);
char* unparse(int lang = 2); // FORTRAN_LANG char* unparse(int lang = 0); // FORTRAN_LANG
inline void unparsestdout(); inline void unparsestdout();
std::string sunparse(int lang = 2); // FORTRAN_LANG std::string sunparse(int lang = 0); // FORTRAN_LANG
inline char *comments(); //preceding comment lines. inline char *comments(); //preceding comment lines.
void addComment(const char *com); void addComment(const char *com);
void addComment(char *com); void addComment(char *com);
@@ -3684,7 +3684,7 @@ inline char* SgStatement::unparse(int lang)
#ifdef __SPF #ifdef __SPF
checkConsistence(); checkConsistence();
#endif #endif
return UnparseBif_Char(thebif, lang); //2 - fortran language return UnparseBif_Char(thebif, lang); //0 - fortran language
} }
inline void SgStatement::unparsestdout() inline void SgStatement::unparsestdout()

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -404,6 +404,7 @@ void startioctl();
void endioctl(); void endioctl();
void redefine_func_arg_type(); void redefine_func_arg_type();
int isResultVar(); int isResultVar();
int yylex();
/* used by FORTRAN M */ /* used by FORTRAN M */
PTR_BFND make_processdo(); PTR_BFND make_processdo();

File diff suppressed because it is too large Load Diff

View File

@@ -756,6 +756,7 @@ void startioctl();
void endioctl(); void endioctl();
void redefine_func_arg_type(); void redefine_func_arg_type();
int isResultVar(); int isResultVar();
int yylex();
/* used by FORTRAN M */ /* used by FORTRAN M */
PTR_BFND make_processdo(); PTR_BFND make_processdo();

View File

@@ -2919,6 +2919,7 @@ private:
#ifdef _MSC_VER #ifdef _MSC_VER
ret = pipe(pipes, 1024 * 1024 * 20, O_BINARY); // 20 MB ret = pipe(pipes, 1024 * 1024 * 20, O_BINARY); // 20 MB
#else #else
fcntl(pipes, F_SETPIPE_SZ, 1024 * 1024 * 20);
ret = pipe(pipes) == -1; ret = pipe(pipes) == -1;
#endif #endif
fd_blocked = (errno == EINTR || errno == EBUSY); fd_blocked = (errno == EINTR || errno == EBUSY);

View File

@@ -1,3 +1,3 @@
#pragma once #pragma once
#define VERSION_SPF "2254" #define VERSION_SPF "2255"