aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/inlineasm/AsmCodeGen.cpp
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2017-02-01 06:59:41 +0800
committerchriseth <c@ethdev.com>2017-02-16 17:15:22 +0800
commit5d584aded8bcabaafddf2f61692f8663913be603 (patch)
tree4d233a7f3ae77773b3c2d7c58f0fcd39572c5516 /libsolidity/inlineasm/AsmCodeGen.cpp
parentad751bd3e6f22fadc01d43610ec2e2e008c32f11 (diff)
downloaddexon-solidity-5d584aded8bcabaafddf2f61692f8663913be603.tar.gz
dexon-solidity-5d584aded8bcabaafddf2f61692f8663913be603.tar.zst
dexon-solidity-5d584aded8bcabaafddf2f61692f8663913be603.zip
Parsing function definitions.
Diffstat (limited to 'libsolidity/inlineasm/AsmCodeGen.cpp')
-rw-r--r--libsolidity/inlineasm/AsmCodeGen.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/libsolidity/inlineasm/AsmCodeGen.cpp b/libsolidity/inlineasm/AsmCodeGen.cpp
index 43c3b27a..1eab5df0 100644
--- a/libsolidity/inlineasm/AsmCodeGen.cpp
+++ b/libsolidity/inlineasm/AsmCodeGen.cpp
@@ -249,7 +249,10 @@ public:
_block.location
);
}
-
+ }
+ void operator()(assembly::FunctionDefinition const&)
+ {
+ solAssert(false, "Function definition not removed during desugaring phase.");
}
private: