aboutsummaryrefslogtreecommitdiffstats
path: root/Parser.cpp
diff options
context:
space:
mode:
authorGav Wood <i@gavwood.com>2014-09-05 23:09:58 +0800
committerGav Wood <i@gavwood.com>2014-09-05 23:09:58 +0800
commit6ff57fe0759d13a97346cf5590f57ad729cbbae7 (patch)
treea17898b0a1cefdf93491806243c4b0e8504833a0 /Parser.cpp
parent00caaf53d28976ed276d9d2fe7a54c07ba92b002 (diff)
downloaddexon-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.cpp15
1 files changed, 8 insertions, 7 deletions
diff --git a/Parser.cpp b/Parser.cpp
index edcd38f3..52a05174 100644
--- a/Parser.cpp
+++ b/Parser.cpp
@@ -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;