adventuregamestudio/ags — pull request #169 by gurok (2014-07-15 13:26:25+00:00)
Title: Script: Allow #define to reference other macros

Support for recursive macro definitions. Tested against VC++ with:

#define RED GREEN
#define BLUE 456
#define GREEN BLUE
#undef BLUE
#define BLUE 123

RED is 123 for both VC++ and AGS. Note: C# doesn't support #define constants, or I would've tested against that.