mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
C++ namespace cleanup (except tests).
This commit is contained in:
committed by
Daniel Kirchner
parent
8385256bdc
commit
6b23412fae
@@ -26,7 +26,7 @@
|
||||
|
||||
using namespace std;
|
||||
|
||||
namespace yul
|
||||
namespace solidity::yul
|
||||
{
|
||||
|
||||
Json::Value AsmJsonConverter::operator()(Block const& _node) const
|
||||
@@ -52,7 +52,7 @@ Json::Value AsmJsonConverter::operator()(Literal const& _node) const
|
||||
{
|
||||
case LiteralKind::Number:
|
||||
solAssert(
|
||||
dev::isValidDecimal(_node.value.str()) || dev::isValidHex(_node.value.str()),
|
||||
util::isValidDecimal(_node.value.str()) || util::isValidHex(_node.value.str()),
|
||||
"Invalid number literal"
|
||||
);
|
||||
ret["kind"] = "number";
|
||||
|
||||
Reference in New Issue
Block a user