# HG changeset patch # User tron # Date 1163502119 0 # Node ID fe3a6da19d9f5ba4cc97f78e5084ccbd9950e3c9 # Parent 2f268952e4105b3650ce21f018885f65514e3292 (svn r7145) Remove extra semicolons diff -r 2f268952e410 -r fe3a6da19d9f depot.h --- a/depot.h Tue Nov 14 01:08:20 2006 +0000 +++ b/depot.h Tue Nov 14 11:01:59 2006 +0000 @@ -17,7 +17,7 @@ DepotID index; }; -DECLARE_POOL(Depot, Depot, 3, 8000); +DECLARE_POOL(Depot, Depot, 3, 8000) /** * Check if a depot really exists. diff -r 2f268952e410 -r fe3a6da19d9f newgrf_spritegroup.c --- a/newgrf_spritegroup.c Tue Nov 14 01:08:20 2006 +0000 +++ b/newgrf_spritegroup.c Tue Nov 14 11:01:59 2006 +0000 @@ -11,7 +11,7 @@ static void SpriteGroupPoolCleanBlock(uint start_item, uint end_item); static uint _spritegroup_count = 0; -STATIC_POOL(SpriteGroup, SpriteGroup, 4, 8000, NULL, SpriteGroupPoolCleanBlock); +STATIC_POOL(SpriteGroup, SpriteGroup, 4, 8000, NULL, SpriteGroupPoolCleanBlock) static void DestroySpriteGroup(SpriteGroup *group) { diff -r 2f268952e410 -r fe3a6da19d9f yapf/array.hpp --- a/yapf/array.hpp Tue Nov 14 01:08:20 2006 +0000 +++ b/yapf/array.hpp Tue Nov 14 11:01:59 2006 +0000 @@ -18,9 +18,9 @@ CSuperArray m_a; ///< array of arrays of items public: - ST_CONST(int, Tblock_size = Tblock_size_); ///< block size is now visible from outside - ST_CONST(int, Tnum_blocks = Tnum_blocks_); ///< number of blocks is now visible from outside - ST_CONST(int, Tcapacity = Tblock_size * Tnum_blocks); ///< total max number of items + ST_CONST(int, Tblock_size = Tblock_size_) ///< block size is now visible from outside + ST_CONST(int, Tnum_blocks = Tnum_blocks_) ///< number of blocks is now visible from outside + ST_CONST(int, Tcapacity = Tblock_size * Tnum_blocks) ///< total max number of items /** implicit constructor */ FORCEINLINE CArrayT() { } diff -r 2f268952e410 -r fe3a6da19d9f yapf/blob.hpp --- a/yapf/blob.hpp Tue Nov 14 01:08:20 2006 +0000 +++ b/yapf/blob.hpp Tue Nov 14 11:01:59 2006 +0000 @@ -32,7 +32,7 @@ } ptr_u; public: - ST_CONST(int, Ttail_reserve = 4); // four extra bytes will be always allocated and zeroed at the end + ST_CONST(int, Ttail_reserve = 4) // four extra bytes will be always allocated and zeroed at the end FORCEINLINE CBlobBaseSimple() { InitEmpty(); } FORCEINLINE CBlobBaseSimple(const CBlobBaseSimple& src) @@ -169,7 +169,7 @@ typedef Titem_ Titem; typedef Tbase_ Tbase; - ST_CONST(int, Titem_size = sizeof(Titem)); + ST_CONST(int, Titem_size = sizeof(Titem)) FORCEINLINE CBlobT() : Tbase() {} FORCEINLINE CBlobT(const Tbase& src) : Tbase(src) {assert((RawSize() % Titem_size) == 0);} diff -r 2f268952e410 -r fe3a6da19d9f yapf/fixedsizearray.hpp --- a/yapf/fixedsizearray.hpp Tue Nov 14 01:08:20 2006 +0000 +++ b/yapf/fixedsizearray.hpp Tue Nov 14 11:01:59 2006 +0000 @@ -24,9 +24,9 @@ // make types and constants visible from outside typedef Titem_ Titem; // type of array item - ST_CONST(int, Tcapacity = Tcapacity_); // the array capacity (maximum size) - ST_CONST(int, TitemSize = sizeof(Titem_)); // size of item - ST_CONST(int, ThdrSize = sizeof(CHdr)); // size of header + ST_CONST(int, Tcapacity = Tcapacity_) // the array capacity (maximum size) + ST_CONST(int, TitemSize = sizeof(Titem_)) // size of item + ST_CONST(int, ThdrSize = sizeof(CHdr)) // size of header /** Default constructor. Preallocate space for items and header, then initialize header. */ CFixedSizeArrayT() diff -r 2f268952e410 -r fe3a6da19d9f yapf/hashtable.hpp --- a/yapf/hashtable.hpp Tue Nov 14 01:08:20 2006 +0000 +++ b/yapf/hashtable.hpp Tue Nov 14 11:01:59 2006 +0000 @@ -120,8 +120,8 @@ public: typedef Titem_ Titem; // make Titem_ visible from outside of class typedef typename Titem_::Key Tkey; // make Titem_::Key a property of HashTable - ST_CONST(int, Thash_bits = Thash_bits_); // publish num of hash bits - ST_CONST(int, Tcapacity = 1 << Thash_bits); // and num of slots 2^bits + ST_CONST(int, Thash_bits = Thash_bits_) // publish num of hash bits + ST_CONST(int, Tcapacity = 1 << Thash_bits) // and num of slots 2^bits protected: /** each slot contains pointer to the first item in the list, diff -r 2f268952e410 -r fe3a6da19d9f yapf/track_dir.hpp --- a/yapf/track_dir.hpp Tue Nov 14 01:08:20 2006 +0000 +++ b/yapf/track_dir.hpp Tue Nov 14 11:01:59 2006 +0000 @@ -26,10 +26,10 @@ FORCEINLINE mask_t operator << (mask_t m, int i) {return (mask_t)(((int)m) << i);} \ FORCEINLINE mask_t operator >> (mask_t m, int i) {return (mask_t)(((int)m) >> i);} -DECLARE_ENUM_AS_BIT_MASK(TrackBits); -DECLARE_ENUM_AS_BIT_INDEX(Track, TrackBits); +DECLARE_ENUM_AS_BIT_MASK(TrackBits) +DECLARE_ENUM_AS_BIT_INDEX(Track, TrackBits) -DECLARE_ENUM_AS_BIT_MASK(TrackdirBits); -DECLARE_ENUM_AS_BIT_INDEX(Trackdir, TrackdirBits); +DECLARE_ENUM_AS_BIT_MASK(TrackdirBits) +DECLARE_ENUM_AS_BIT_INDEX(Trackdir, TrackdirBits) #endif /* TRACK_DIR_HPP */ diff -r 2f268952e410 -r fe3a6da19d9f yapf/yapf_settings.h --- a/yapf/yapf_settings.h Tue Nov 14 01:08:20 2006 +0000 +++ b/yapf/yapf_settings.h Tue Nov 14 11:01:59 2006 +0000 @@ -59,7 +59,7 @@ YS_DEF(uint32, rail_longer_platform_per_tile_penalty) ///< penalty for longer station platform than train (per tile) YS_DEF(uint32, rail_shorter_platform_penalty) ///< penalty for shorter station platform than train YS_DEF(uint32, rail_shorter_platform_per_tile_penalty) ///< penalty for shorter station platform than train (per tile) -YS_DEF_END; +YS_DEF_END #undef YS_DEF_BEGIN #undef YS_DEF