fixed removeDvmSpfDirectives
This commit is contained in:
@@ -444,7 +444,7 @@ static void replaceComment(string &dir, const char *firstChar)
|
|||||||
|
|
||||||
void removeDvmSpfDirectives(SgFile* file, bool removeDvm, bool removeSpf, bool toComment)
|
void removeDvmSpfDirectives(SgFile* file, bool removeDvm, bool removeSpf, bool toComment)
|
||||||
{
|
{
|
||||||
if (!removeDvm && !removeSpf)
|
if (!removeDvm && !removeSpf && !toComment)
|
||||||
printInternalError(convertFileName(__FILE__).c_str(), __LINE__);
|
printInternalError(convertFileName(__FILE__).c_str(), __LINE__);
|
||||||
|
|
||||||
vector<SgStatement*> toDel;
|
vector<SgStatement*> toDel;
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#define VERSION_SPF "2400"
|
#define VERSION_SPF "2401"
|
||||||
|
|||||||
Reference in New Issue
Block a user