aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/ast/ASTJsonConverter.cpp
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2016-11-29 06:07:55 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2016-11-29 06:28:21 +0800
commita9e92cb68601a19d5e0969e4f3336be612edc72e (patch)
tree14e4e07c271bd2fc697e481a854a0b068a0fa85d /libsolidity/ast/ASTJsonConverter.cpp
parentc01426efecb82375c7c732f8c385b38cb9259168 (diff)
downloaddexon-solidity-a9e92cb68601a19d5e0969e4f3336be612edc72e.tar.gz
dexon-solidity-a9e92cb68601a19d5e0969e4f3336be612edc72e.tar.zst
dexon-solidity-a9e92cb68601a19d5e0969e4f3336be612edc72e.zip
Rename dev::validate to dev::validateUTF8
Diffstat (limited to 'libsolidity/ast/ASTJsonConverter.cpp')
-rw-r--r--libsolidity/ast/ASTJsonConverter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/ast/ASTJsonConverter.cpp b/libsolidity/ast/ASTJsonConverter.cpp
index cf60c76a..f6b06be6 100644
--- a/libsolidity/ast/ASTJsonConverter.cpp
+++ b/libsolidity/ast/ASTJsonConverter.cpp
@@ -418,7 +418,7 @@ bool ASTJsonConverter::visit(Literal const& _node)
{
char const* tokenString = Token::toString(_node.token());
Json::Value value{_node.value()};
- if (!dev::validate(_node.value()))
+ if (!dev::validateUTF8(_node.value()))
value = Json::nullValue;
Token::Value subdenomination = Token::Value(_node.subDenomination());
addJsonNode(_node, "Literal", {