mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Adding comments for #undef per project owner request.
This commit is contained in:
parent
f046be3cc1
commit
d2a5153722
17
Token.h
17
Token.h
@ -47,6 +47,17 @@
|
|||||||
#include <libsolidity/Utils.h>
|
#include <libsolidity/Utils.h>
|
||||||
#include <libsolidity/Exceptions.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 dev
|
||||||
{
|
{
|
||||||
namespace solidity
|
namespace solidity
|
||||||
@ -65,12 +76,6 @@ namespace solidity
|
|||||||
// an argument (at any position) for a TOKEN_LIST call. It does
|
// an argument (at any position) for a TOKEN_LIST call. It does
|
||||||
// nothing with tokens belonging to the respective category.
|
// 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 IGNORE_TOKEN(name, string, precedence)
|
||||||
|
|
||||||
#define TOKEN_LIST(T, K) \
|
#define TOKEN_LIST(T, K) \
|
||||||
|
2
Types.h
2
Types.h
@ -67,6 +67,8 @@ private:
|
|||||||
MemberMap m_memberTypes;
|
MemberMap m_memberTypes;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// Updates for mingw support. #undef conflicting defines which have been
|
||||||
|
// repurposed for TOKEN_LIST on windows.
|
||||||
#if defined(__MINGW32__)
|
#if defined(__MINGW32__)
|
||||||
#undef VOID
|
#undef VOID
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user