Browse Source

Adding comments for #undef per project owner request.

cl-refactor
jhuntley 10 years ago
parent
commit
d51036b3e2
  1. 17
      libsolidity/Token.h
  2. 2
      libsolidity/Types.h

17
libsolidity/Token.h

@ -47,6 +47,17 @@
#include <libsolidity/Utils.h>
#include <libsolidity/Exceptions.h>
#if defined(DELETE)
#undef DELETE
#endif
// Updates for mingw support. #undef conflicting defines which have been
// repurposed for TOKEN_LIST on windows.
#if defined(__MINGW32__)
#undef IN
#undef CONST
#endif
namespace dev
{
namespace solidity
@ -65,12 +76,6 @@ namespace solidity
// an argument (at any position) for a TOKEN_LIST call. It does
// nothing with tokens belonging to the respective category.
#if defined(__MINGW32__)
#undef IN
#undef DELETE
#undef CONST
#endif
#define IGNORE_TOKEN(name, string, precedence)
#define TOKEN_LIST(T, K) \

2
libsolidity/Types.h

@ -67,6 +67,8 @@ private:
MemberMap m_memberTypes;
};
// Updates for mingw support. #undef conflicting defines which have been
// repurposed for TOKEN_LIST on windows.
#if defined(__MINGW32__)
#undef VOID
#endif

Loading…
Cancel
Save