aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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'))];