changed line numbers to negative for INTENT and INTRINSIC
This commit is contained in:
Submodule projects/dvm updated: 6cd48b86d5...357edccf64
@@ -103,7 +103,7 @@ void insertIntrinsicStat(const vector<FuncInfo*>& allFuncInfo)
|
|||||||
if (line <= 0)
|
if (line <= 0)
|
||||||
printInternalError(convertFileName(__FILE__).c_str(), __LINE__);
|
printInternalError(convertFileName(__FILE__).c_str(), __LINE__);
|
||||||
|
|
||||||
intr->setlineNumber(line);
|
intr->setlineNumber(getNextNegativeLineNumber());
|
||||||
st->insertStmtBefore(*intr, *func->funcPointer);
|
st->insertStmtBefore(*intr, *func->funcPointer);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@@ -525,7 +525,7 @@ static void insertIntents(set<string>& identificators, SgStatement* header, cons
|
|||||||
if (args.size())
|
if (args.size())
|
||||||
{
|
{
|
||||||
SgIntentStmt* intent = new SgIntentStmt(*makeExprList(args), *attr);
|
SgIntentStmt* intent = new SgIntentStmt(*makeExprList(args), *attr);
|
||||||
intent->setlineNumber(lastDecl->lineNumber());
|
intent->setlineNumber(getNextNegativeLineNumber());
|
||||||
|
|
||||||
lastDecl->insertStmtAfter(*intent, (header == lastDecl) ? *header : *lastDecl->controlParent());
|
lastDecl->insertStmtAfter(*intent, (header == lastDecl) ? *header : *lastDecl->controlParent());
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#define VERSION_SPF "2442"
|
#define VERSION_SPF "2443"
|
||||||
|
|||||||
Reference in New Issue
Block a user