aboutsummaryrefslogtreecommitdiffstats
path: root/mutator-lvl0.cpp
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2017-07-16 03:07:15 +0000
committerbloodstalker <thabogre@gmail.com>2017-07-16 03:07:15 +0000
commit5f384c17f6b4b1df8b44d97babc5125b6cf8e66e (patch)
tree6b9f83cb636d32c42668152f8639709b8be64a1f /mutator-lvl0.cpp
parentfixed a help comment (diff)
downloadmutator-5f384c17f6b4b1df8b44d97babc5125b6cf8e66e.tar.gz
mutator-5f384c17f6b4b1df8b44d97babc5125b6cf8e66e.zip
API update changes
Diffstat (limited to 'mutator-lvl0.cpp')
-rw-r--r--mutator-lvl0.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/mutator-lvl0.cpp b/mutator-lvl0.cpp
index 29f40de..7b7ca3c 100644
--- a/mutator-lvl0.cpp
+++ b/mutator-lvl0.cpp
@@ -7220,7 +7220,7 @@ public:
{
/*@DEVI-Macro args are passed twice. first they are expanded and then the whole macro,
including the args is checked again for expansion, so args are passed twice.*/
- if (MI->getNumArgs() != Args->getNumArguments() - MI->getNumArgs())
+ if (MI->getNumArgs() != Args->getNumMacroArguments() - MI->getNumArgs())
{
if (Devi::IsTheMatchInSysHeader(CheckSystemHeader, SM, MDSL))
{
@@ -7231,7 +7231,7 @@ public:
if (Devi::IsTheMatchInMainFile(MainFileOnly, SM, MDSL))
{
std::cout << "19.8:" << "Funciton-like macro invoked with wrong number of arguments:";
- std::cout << Range.getBegin().printToString(SM) << ":" << Args->getNumArguments() << " " << MI->getNumArgs() << ":" << "\n";
+ std::cout << Range.getBegin().printToString(SM) << ":" << Args->getNumMacroArguments() << " " << MI->getNumArgs() << ":" << "\n";
XMLDocOut.XMLAddNode(SM, SL, "19.8", "Funciton-like macro invoked with wrong number of arguments:");
JSONDocOUT.JSONAddElement(SM, SL, "19.8", "Funciton-like macro invoked with wrong number of arguments:");