Pasting "PlayMode_" and "Index" does not make a valid preprocessing token.

This commit is contained in:
Steve Checkoway
2006-09-26 04:06:03 +00:00
parent 3dac292642
commit 68dd073282
+1 -1
View File
@@ -179,7 +179,7 @@ static void Lua2##X(lua_State* L) \
lua_rawset( L, -3 ); \
} \
EnumTraits<X>::StringToEnum.PushSelf( L ); \
lua_setglobal( L, #X##"Index" ); \
lua_setglobal( L, #X "Index" ); \
EnumTraits<X>::StringToEnum.SetFromStack( L ); \
} \
REGISTER_WITH_LUA_FUNCTION( Lua2##X ); \