aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/ast/AST.h
diff options
context:
space:
mode:
authorChristian Parpart <christian@parpart.family>2018-10-01 20:36:57 +0800
committerChristian Parpart <christian@ethereum.org>2018-10-02 21:37:15 +0800
commit9fb835b710f7f0dc9f2089df6301f0ce55d1e4aa (patch)
tree8e8787835a7a683e45cde3a975a95a330439c7ac /libsolidity/ast/AST.h
parent7609710d4f8e169784c7a8418da702ac236f5e23 (diff)
downloaddexon-solidity-9fb835b710f7f0dc9f2089df6301f0ce55d1e4aa.tar
dexon-solidity-9fb835b710f7f0dc9f2089df6301f0ce55d1e4aa.tar.gz
dexon-solidity-9fb835b710f7f0dc9f2089df6301f0ce55d1e4aa.tar.bz2
dexon-solidity-9fb835b710f7f0dc9f2089df6301f0ce55d1e4aa.tar.lz
dexon-solidity-9fb835b710f7f0dc9f2089df6301f0ce55d1e4aa.tar.xz
dexon-solidity-9fb835b710f7f0dc9f2089df6301f0ce55d1e4aa.tar.zst
dexon-solidity-9fb835b710f7f0dc9f2089df6301f0ce55d1e4aa.zip
Fixes #5051 (introduced in #4684), effectively allowing underscores in address literals.
Diffstat (limited to 'libsolidity/ast/AST.h')
-rw-r--r--libsolidity/ast/AST.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libsolidity/ast/AST.h b/libsolidity/ast/AST.h
index f3464f92..b84f9730 100644
--- a/libsolidity/ast/AST.h
+++ b/libsolidity/ast/AST.h
@@ -1679,6 +1679,8 @@ public:
/// @returns the non-parsed value of the literal
ASTString const& value() const { return *m_value; }
+ ASTString valueWithoutUnderscores() const;
+
SubDenomination subDenomination() const { return m_subDenomination; }
/// @returns true if this is a number with a hex prefix.