From 7d29fb84a5c01940776803bf65f6b2e22117a237 Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Thu, 2 May 2013 11:51:06 +1000 Subject: [PATCH] remove surplus tokens after preprocessor directives --- codemp/Ratl/ratl_common.h | 2 +- codemp/icarus/interpreter.h | 2 +- codemp/namespace_end.h | 2 +- codemp/qcommon/cm_terrainmap.h | 2 +- codemp/qcommon/msg.cpp | 2 +- codemp/qcommon/qcommon.h | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/codemp/Ratl/ratl_common.h b/codemp/Ratl/ratl_common.h index e3515e0..54e7beb 100644 --- a/codemp/Ratl/ratl_common.h +++ b/codemp/Ratl/ratl_common.h @@ -280,7 +280,7 @@ public: { return 1; } -#endif; +#endif }; diff --git a/codemp/icarus/interpreter.h b/codemp/icarus/interpreter.h index 6653f55..64457fe 100644 --- a/codemp/icarus/interpreter.h +++ b/codemp/icarus/interpreter.h @@ -220,5 +220,5 @@ protected: static keywordArray_t m_conditionalKeywords[]; //Conditional }; -#endif __cplusplus +#endif // __cplusplus #endif //__INTERPRETER__ diff --git a/codemp/namespace_end.h b/codemp/namespace_end.h index 8194a65..d3ee3d3 100644 --- a/codemp/namespace_end.h +++ b/codemp/namespace_end.h @@ -14,4 +14,4 @@ using namespace ui; //#error Including namespace_end.h, but not in UI/GAME/CGAME #endif -#endif _XBOX \ No newline at end of file +#endif // _XBOX diff --git a/codemp/qcommon/cm_terrainmap.h b/codemp/qcommon/cm_terrainmap.h index 6899207..c4b8108 100644 --- a/codemp/qcommon/cm_terrainmap.h +++ b/codemp/qcommon/cm_terrainmap.h @@ -79,5 +79,5 @@ void CM_TM_Upload(vec3_t player_origin, vec3_t player_angles); void CM_TM_SaveImageToDisk(const char * terrainName, const char * missionName, const char * seed); void CM_TM_ConvertPosition(int &x, int &y, int Width, int Height); -#endif CM_TERRAINMAP_H_INC +#endif // CM_TERRAINMAP_H_INC diff --git a/codemp/qcommon/msg.cpp b/codemp/qcommon/msg.cpp index 6337354..8980897 100644 --- a/codemp/qcommon/msg.cpp +++ b/codemp/qcommon/msg.cpp @@ -3269,7 +3269,7 @@ void MSG_initHuffman() { Cbuf_AddText( "condump dump.txt\n" ); } -#endif _USINGNEWHUFFTABLE_ +#endif // _USINGNEWHUFFTABLE_ void MSG_shutdownHuffman() { diff --git a/codemp/qcommon/qcommon.h b/codemp/qcommon/qcommon.h index 8618f64..a14816d 100644 --- a/codemp/qcommon/qcommon.h +++ b/codemp/qcommon/qcommon.h @@ -1129,6 +1129,6 @@ struct Lump } } }; -#endif _XBOX +#endif // _XBOX #endif // _QCOMMON_H_