diff options
author | Gav Wood <i@gavwood.com> | 2014-07-02 16:19:04 +0800 |
---|---|---|
committer | Gav Wood <i@gavwood.com> | 2014-07-02 16:19:04 +0800 |
commit | 17010d445c28d5d67ebb124563f3b9f6991f034f (patch) | |
tree | 300fe6171b62b17fde95a843735c0d37a5980b3d | |
parent | 3174a5e0c6072004159326f000c0e1dfe6703b00 (diff) | |
download | dexon-solidity-17010d445c28d5d67ebb124563f3b9f6991f034f.tar.gz dexon-solidity-17010d445c28d5d67ebb124563f3b9f6991f034f.tar.zst dexon-solidity-17010d445c28d5d67ebb124563f3b9f6991f034f.zip |
Remove unneeded dependencies.
-rw-r--r-- | Assembly.cpp | 1 | ||||
-rw-r--r-- | Assembly.h | 1 | ||||
-rw-r--r-- | Parser.cpp | 5 |
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; @@ -25,7 +25,6 @@ #include <sstream> #include <libethential/Common.h> #include <libevmface/Instruction.h> -#include <libethcore/SHA3.h> #include "Exceptions.h" namespace eth @@ -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'))]; |