TINSEL: Reintroduce DUMMY variable removed in r53932

This placates compilers that complain about the semicolon in
"CORO_BEGIN_CONTEXT;"

svn-id: r53992
This commit is contained in:
Ori Avtalion 2010-10-31 22:33:13 +00:00
parent 5c49ae8a9c
commit ed8bfb00b9

View file

@ -129,10 +129,14 @@ public:
* _ctx->var = 0;
*
* @see CORO_END_CONTEXT
*
* @note We declare a variable 'DUMMY' to allow the user to specify an 'empty'
* context, and so compilers won't complain about ";" following the macro.
*/
#define CORO_BEGIN_CONTEXT \
struct CoroContextTag : CoroBaseContext { \
CoroContextTag() : CoroBaseContext(SCUMMVM_CURRENT_FUNCTION) {} \
int DUMMY
/**
* End the declaration of a coroutine context.