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/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) \
|
||||
|
Loading…
Reference in New Issue
Block a user