diff options
author | Gav Wood <i@gavwood.com> | 2014-09-05 23:09:58 +0800 |
---|---|---|
committer | Gav Wood <i@gavwood.com> | 2014-09-05 23:09:58 +0800 |
commit | 6ff57fe0759d13a97346cf5590f57ad729cbbae7 (patch) | |
tree | a17898b0a1cefdf93491806243c4b0e8504833a0 /Parser.cpp | |
parent | 00caaf53d28976ed276d9d2fe7a54c07ba92b002 (diff) | |
download | dexon-solidity-6ff57fe0759d13a97346cf5590f57ad729cbbae7.tar dexon-solidity-6ff57fe0759d13a97346cf5590f57ad729cbbae7.tar.gz dexon-solidity-6ff57fe0759d13a97346cf5590f57ad729cbbae7.tar.bz2 dexon-solidity-6ff57fe0759d13a97346cf5590f57ad729cbbae7.tar.lz dexon-solidity-6ff57fe0759d13a97346cf5590f57ad729cbbae7.tar.xz dexon-solidity-6ff57fe0759d13a97346cf5590f57ad729cbbae7.tar.zst dexon-solidity-6ff57fe0759d13a97346cf5590f57ad729cbbae7.zip |
Project-wide reorganisation of namespaces.
Diffstat (limited to 'Parser.cpp')
-rw-r--r-- | Parser.cpp | 15 |
1 files changed, 8 insertions, 7 deletions
@@ -28,12 +28,13 @@ #include <boost/spirit/include/support_utree.hpp> using namespace std; -using namespace eth; +using namespace dev; +using namespace dev::eth; namespace qi = boost::spirit::qi; namespace px = boost::phoenix; namespace sp = boost::spirit; -void eth::killBigints(sp::utree const& _this) +void dev::eth::killBigints(sp::utree const& _this) { switch (_this.which()) { @@ -43,7 +44,7 @@ void eth::killBigints(sp::utree const& _this) } } -void eth::debugOutAST(ostream& _out, sp::utree const& _this) +void dev::eth::debugOutAST(ostream& _out, sp::utree const& _this) { switch (_this.which()) { @@ -69,7 +70,7 @@ void eth::debugOutAST(ostream& _out, sp::utree const& _this) } } -namespace eth { +namespace dev { namespace eth { namespace parseTreeLLL_ { template<unsigned N> @@ -81,13 +82,13 @@ struct tagNode } }; -}} +}}} -void eth::parseTreeLLL(string const& _s, sp::utree& o_out) +void dev::eth::parseTreeLLL(string const& _s, sp::utree& o_out) { using qi::standard::space; using qi::standard::space_type; - using eth::parseTreeLLL_::tagNode; + using dev::eth::parseTreeLLL_::tagNode; typedef sp::basic_string<std::string, sp::utree_type::symbol_type> symbol_type; typedef string::const_iterator it; |