aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLiana Husikyan <liana@ethdev.com>2015-06-18 20:57:43 +0800
committerLiana Husikyan <liana@ethdev.com>2015-07-16 19:57:56 +0800
commit0111d3d4c442230803886fa20654e8d62517814d (patch)
treed9d3b8bbc8d0dbe0f57056a4a79cb4f181063df9
parent251b5ae84e2db4385663093df5c162c838be290d (diff)
downloaddexon-solidity-0111d3d4c442230803886fa20654e8d62517814d.tar
dexon-solidity-0111d3d4c442230803886fa20654e8d62517814d.tar.gz
dexon-solidity-0111d3d4c442230803886fa20654e8d62517814d.tar.bz2
dexon-solidity-0111d3d4c442230803886fa20654e8d62517814d.tar.lz
dexon-solidity-0111d3d4c442230803886fa20654e8d62517814d.tar.xz
dexon-solidity-0111d3d4c442230803886fa20654e8d62517814d.tar.zst
dexon-solidity-0111d3d4c442230803886fa20654e8d62517814d.zip
changedthe output style of the Natspec docstring
-rw-r--r--InterfaceHandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/InterfaceHandler.cpp b/InterfaceHandler.cpp
index 3b87032b..fecdb3ec 100644
--- a/InterfaceHandler.cpp
+++ b/InterfaceHandler.cpp
@@ -165,7 +165,7 @@ void InterfaceHandler::generateUserDocumentation(ContractDefinition& _contractDe
}
doc["methods"] = methods;
- _contractDef.setUserDocumentation(Json::FastWriter().write(doc));
+ _contractDef.setUserDocumentation(Json::StyledWriter().write(doc));
}
unique_ptr<string> InterfaceHandler::userDocumentation(ContractDefinition const& _contractDef)
@@ -239,7 +239,7 @@ void InterfaceHandler::generateDevDocumentation(ContractDefinition& _contractDef
}
doc["methods"] = methods;
- _contractDef.setDevDocumentation(Json::FastWriter().write(doc));
+ _contractDef.setDevDocumentation(Json::StyledWriter().write(doc));
}
/* -- private -- */