aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/ast
diff options
context:
space:
mode:
authorDaniel Kirchner <daniel@ekpyron.org>2018-03-07 00:18:57 +0800
committerDaniel Kirchner <daniel@ekpyron.org>2018-03-07 00:29:04 +0800
commitfb4d01e2cd9c3d6fa862a5c9fea433522b94d916 (patch)
tree963d857ce9c41f70ac5ac2f1aba1272f72d5f0ec /libsolidity/ast
parent83dacbf669f58ad40e3035837d4ea8a846c46949 (diff)
downloaddexon-solidity-fb4d01e2cd9c3d6fa862a5c9fea433522b94d916.tar.gz
dexon-solidity-fb4d01e2cd9c3d6fa862a5c9fea433522b94d916.tar.zst
dexon-solidity-fb4d01e2cd9c3d6fa862a5c9fea433522b94d916.zip
Add gasleft to FunctionType::richIdentifier().
Diffstat (limited to 'libsolidity/ast')
-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;