added convertation to sapfor

This commit is contained in:
ALEXks
2024-02-28 17:38:02 +03:00
parent 4386eb7041
commit 8a92f305f4
7 changed files with 637 additions and 146 deletions

View File

@@ -126,6 +126,7 @@ private:
SgProject *project;
bool unparseIgnore;
static bool sapfor_regime;
static std::string currProcessFile;
static int currProcessLine;
static bool deprecatedCheck;
@@ -335,6 +336,9 @@ public:
static void setCurrProcessLine(const int line) { currProcessLine = line; }
static std::string getCurrProcessFile() { return currProcessFile; }
static int getCurrProcessLine() { return currProcessLine; }
static void setSapforRegime() { sapfor_regime = true; }
static bool isSapforRegime() { return sapfor_regime; }
};
class SgExpression