aboutsummaryrefslogtreecommitdiffstats
path: root/solidityParser.cpp
diff options
context:
space:
mode:
authorChristian <c@ethdev.com>2014-10-16 20:08:54 +0800
committerChristian <c@ethdev.com>2014-10-16 20:08:54 +0800
commitee06ed2ff8fab08bc31662c298796c50009c2a11 (patch)
tree874f6ff1604dd45284d6c290cf9166d6221a4479 /solidityParser.cpp
parentc2f3d27940cb36d1991d2464f36f320d9d656577 (diff)
downloaddexon-solidity-ee06ed2ff8fab08bc31662c298796c50009c2a11.tar
dexon-solidity-ee06ed2ff8fab08bc31662c298796c50009c2a11.tar.gz
dexon-solidity-ee06ed2ff8fab08bc31662c298796c50009c2a11.tar.bz2
dexon-solidity-ee06ed2ff8fab08bc31662c298796c50009c2a11.tar.lz
dexon-solidity-ee06ed2ff8fab08bc31662c298796c50009c2a11.tar.xz
dexon-solidity-ee06ed2ff8fab08bc31662c298796c50009c2a11.tar.zst
dexon-solidity-ee06ed2ff8fab08bc31662c298796c50009c2a11.zip
Corrected coding style.
Diffstat (limited to 'solidityParser.cpp')
-rw-r--r--solidityParser.cpp26
1 files changed, 16 insertions, 10 deletions
diff --git a/solidityParser.cpp b/solidityParser.cpp
index b1f27bcb..ef434cc3 100644
--- a/solidityParser.cpp
+++ b/solidityParser.cpp
@@ -28,16 +28,20 @@
#include <libsolidity/Exceptions.h>
#include <boost/test/unit_test.hpp>
-namespace dev {
-namespace solidity {
-namespace test {
+namespace dev
+{
+namespace solidity
+{
+namespace test
+{
-namespace {
- ptr<ASTNode> parseText(const std::string& _source)
- {
- Parser parser;
- return parser.parse(std::make_shared<Scanner>(CharStream(_source)));
- }
+namespace
+{
+ptr<ASTNode> parseText(const std::string& _source)
+{
+ Parser parser;
+ return parser.parse(std::make_shared<Scanner>(CharStream(_source)));
+}
}
BOOST_AUTO_TEST_SUITE(SolidityParser)
@@ -211,5 +215,7 @@ BOOST_AUTO_TEST_CASE(else_if_statement)
BOOST_AUTO_TEST_SUITE_END()
-} } } // end namespaces
+}
+}
+} // end namespaces