aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-03-07 01:06:30 +0800
committerGitHub <noreply@github.com>2018-03-07 01:06:30 +0800
commit95ca8297502ffcbbf321cda275f4b845492d4331 (patch)
treea002fa7529779369137b33c7029611854d6a8a7a /libsolidity
parent14b12ae7452388516d0c4eb833b0c83fe5156b44 (diff)
parentfb4d01e2cd9c3d6fa862a5c9fea433522b94d916 (diff)
downloaddexon-solidity-95ca8297502ffcbbf321cda275f4b845492d4331.tar.gz
dexon-solidity-95ca8297502ffcbbf321cda275f4b845492d4331.tar.zst
dexon-solidity-95ca8297502ffcbbf321cda275f4b845492d4331.zip
Merge pull request #3663 from ethereum/gasleftEmscripten
Add gasleft to FunctionType::richIdentifier().
Diffstat (limited to 'libsolidity')
-rw-r--r--libsolidity/ast/Types.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libsolidity/ast/Types.cpp b/libsolidity/ast/Types.cpp
index 6a9707f3..c08e0e67 100644
--- a/libsolidity/ast/Types.cpp
+++ b/libsolidity/ast/Types.cpp
@@ -2344,6 +2344,7 @@ string FunctionType::richIdentifier() const
case Kind::Log2: id += "log2"; break;
case Kind::Log3: id += "log3"; break;
case Kind::Log4: id += "log4"; break;
+ case Kind::GasLeft: id += "gasleft"; break;
case Kind::Event: id += "event"; break;
case Kind::SetGas: id += "setgas"; break;
case Kind::SetValue: id += "setvalue"; break;