Concatenating does not make valid preprocessing tokens.

This commit is contained in:
Steve Checkoway
2006-08-05 03:15:04 +00:00
parent a1f828fc89
commit f698819de9
+2 -2
View File
@@ -14,9 +14,9 @@ enum ModsLevel
#define MODS_GROUP_ASSIGN( modsGroup, modsLevel, assignment ) \
{ \
for( int i=(ModsLevel)(modsLevel); i<NUM_ModsLevel; i++ ) \
(modsGroup).m_[i]##assignment; \
(modsGroup).m_[i] assignment; \
if( modsLevel != ModsLevel_Song ) \
(modsGroup).m_current##assignment; \
(modsGroup).m_current assignment; \
}
template<class T>