fixed implicit none
This commit is contained in:
@@ -365,10 +365,13 @@ void implicitCheck(SgFile* file, vector<int>& dvmDirErrorsLines)
|
|||||||
|
|
||||||
vector<SgStatement*> modulesAndFunctions;
|
vector<SgStatement*> modulesAndFunctions;
|
||||||
getModulesAndFunctions(file, modulesAndFunctions);
|
getModulesAndFunctions(file, modulesAndFunctions);
|
||||||
|
const string currFile = file->filename();
|
||||||
|
|
||||||
for (int func = 0; func < modulesAndFunctions.size(); ++func)
|
for (int func = 0; func < modulesAndFunctions.size(); ++func)
|
||||||
{
|
{
|
||||||
SgStatement* function = modulesAndFunctions[func];
|
SgStatement* function = modulesAndFunctions[func];
|
||||||
|
if (function->fileName() != currFile)
|
||||||
|
continue;
|
||||||
typesByFunctions[function] = FunctionImplicitCheck(function, typesByFunctions, dvmDirErrorsLines);
|
typesByFunctions[function] = FunctionImplicitCheck(function, typesByFunctions, dvmDirErrorsLines);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#define VERSION_SPF "2358"
|
#define VERSION_SPF "2359"
|
||||||
|
|||||||
Reference in New Issue
Block a user