Bug #14526

Rapify does not like empty define

Added by kju almost 5 years ago. Updated almost 5 years ago.

Status:Closed Start date:10/20/2010
Priority:Normal Due date:
Assignee:mikero % Done:

0%

Category:Rapify (Dos Tools)
Target version:Completed
Affected Version:

Description

class CfgPatches
{
    class dummy
    {
        units[] = {"dummy"};
        weapons[] = {};
        requiredVersion = 1.0;
        requiredAddons[] = {"dummy"};
    };
};

#define TEST /**/

class CfgWorldList
{
    class dummy
    {
        TEST
    };
};

T:\pbodll\Rapify.exe -klan sample.cpp

Leads to:

Rapify.exe Version 1.71, Dll 3.22 sample.cpp
File T:\pbodll\test\config\sample.cpp: Line 18 No Token

History

Updated by kju almost 5 years ago

Do note that the same is said for:

#define TEST
or
#define TEST /*A*/

Expected:
Rapify should replace the define with no text.

Updated by mikero almost 5 years ago

  • Status changed from New to Resolved

fixed at dll 2.34

Updated by kju almost 5 years ago

Now says

//forcing arma raP
class CfgPatches
{
class dummy
{
units[] = {"dummy"};
weapons[] = {};
requiredVersion = 1.0;
requiredAddons[] = {"dummy"};
};
};
#define TEST /*A*/
class CfgWorldList
{
class dummy
{
TEST
};

and

Rapify.exe Version 1.71, Dll 3.24 sample.cpp
File T:\pbodll\test\config\sample.cpp: Line 19 Expected class, define, or varname

Updated by mikero almost 5 years ago

if there's a red faced smiley here i'll use it

fixed

Updated by kju almost 5 years ago

  • Status changed from Resolved to Closed
  • Target version set to Completed

Thanks a lot mikero!
Your effort is very much appreciated. :)

Also available in: Atom PDF