aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGav Wood <i@gavwood.com>2014-07-02 16:19:04 +0800
committerGav Wood <i@gavwood.com>2014-07-02 16:19:04 +0800
commit17010d445c28d5d67ebb124563f3b9f6991f034f (patch)
tree300fe6171b62b17fde95a843735c0d37a5980b3d
parent3174a5e0c6072004159326f000c0e1dfe6703b00 (diff)
downloaddexon-solidity-17010d445c28d5d67ebb124563f3b9f6991f034f.tar.gz
dexon-solidity-17010d445c28d5d67ebb124563f3b9f6991f034f.tar.zst
dexon-solidity-17010d445c28d5d67ebb124563f3b9f6991f034f.zip
Remove unneeded dependencies.
-rw-r--r--Assembly.cpp1
-rw-r--r--Assembly.h1
-rw-r--r--Parser.cpp5
3 files changed, 4 insertions, 3 deletions
diff --git a/Assembly.cpp b/Assembly.cpp
index 7016b286..f4d700f9 100644
--- a/Assembly.cpp
+++ b/Assembly.cpp
@@ -22,7 +22,6 @@
#include "Assembly.h"
#include <libethential/Log.h>
-#include <libethcore/CommonEth.h>
using namespace std;
using namespace eth;
diff --git a/Assembly.h b/Assembly.h
index 9cd10a82..4a6d02ce 100644
--- a/Assembly.h
+++ b/Assembly.h
@@ -25,7 +25,6 @@
#include <sstream>
#include <libethential/Common.h>
#include <libevmface/Instruction.h>
-#include <libethcore/SHA3.h>
#include "Exceptions.h"
namespace eth
diff --git a/Parser.cpp b/Parser.cpp
index 0ae3c6fe..d7658f67 100644
--- a/Parser.cpp
+++ b/Parser.cpp
@@ -24,7 +24,6 @@
#include <boost/spirit/include/qi.hpp>
#include <boost/spirit/include/phoenix.hpp>
#include <boost/spirit/include/support_utree.hpp>
-#include <libethcore/CommonEth.h>
using namespace std;
using namespace eth;
@@ -73,6 +72,10 @@ void eth::parseTreeLLL(string const& _s, sp::utree& o_out)
typedef sp::basic_string<std::string, sp::utree_type::symbol_type> symbol_type;
typedef string::const_iterator it;
+ static const u256 ether = u256(1000000000) * 1000000000;
+ static const u256 finney = u256(1000000000) * 1000000;
+ static const u256 szabo = u256(1000000000) * 1000;
+
qi::rule<it, qi::ascii::space_type, sp::utree()> element;
qi::rule<it, string()> str = '"' > qi::lexeme[+(~qi::char_(std::string("\"") + '\0'))] > '"';
qi::rule<it, string()> strsh = '\'' > qi::lexeme[+(~qi::char_(std::string(" ;@()[]{}:") + '\0'))];