Move UndefMacros from libdevcore to libsolidity/parsing

This commit is contained in:
Alex Beregszaszi 2017-07-01 23:40:01 +01:00
parent d230048dc8
commit b615b01449
5 changed files with 3 additions and 5 deletions

View File

@ -28,7 +28,6 @@
#include <libdevcore/Common.h> #include <libdevcore/Common.h>
#include <libdevcore/CommonIO.h> #include <libdevcore/CommonIO.h>
#include <libdevcore/UndefMacros.h>
#include <boost/noncopyable.hpp> #include <boost/noncopyable.hpp>
#include <boost/rational.hpp> #include <boost/rational.hpp>

View File

@ -44,7 +44,7 @@
#include <libdevcore/Common.h> #include <libdevcore/Common.h>
#include <libsolidity/interface/Exceptions.h> #include <libsolidity/interface/Exceptions.h>
#include <libdevcore/UndefMacros.h> #include <libsolidity/parsing/UndefMacros.h>
namespace dev namespace dev
{ {

View File

@ -19,7 +19,7 @@
* @date 2015 * @date 2015
* *
* This header should be used to #undef some really evil macros defined by * This header should be used to #undef some really evil macros defined by
* windows.h which result in conflict with our libsolidity/Token.h * windows.h which result in conflict with our Token.h
*/ */
#pragma once #pragma once

View File

@ -21,7 +21,6 @@
#if defined(_WIN32) #if defined(_WIN32)
#include <windows.h> #include <windows.h>
#include "libdevcore/UndefMacros.h"
#else #else
#include <sys/types.h> #include <sys/types.h>
#include <sys/socket.h> #include <sys/socket.h>

View File

@ -9622,7 +9622,7 @@ BOOST_AUTO_TEST_CASE(scientific_notation)
BOOST_CHECK(callContractFunction("k()") == encodeArgs(u256(-25))); BOOST_CHECK(callContractFunction("k()") == encodeArgs(u256(-25)));
} }
BOOST_AUTO_TEST_CASE(interface) BOOST_AUTO_TEST_CASE(interface_contract)
{ {
char const* sourceCode = R"( char const* sourceCode = R"(
interface I { interface I {