diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-05-06 01:56:29 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-05-23 01:45:34 +0800 |
commit | cb4966046d9871b63084ddcf0ff6fac8a4c322aa (patch) | |
tree | 3fde5c5114865b10c30c71b8a2327a476868d041 /libsolidity/inlineasm/AsmData.h | |
parent | 15b4d4def23bcf0feb93c67dccc137baa59d5102 (diff) | |
download | dexon-solidity-cb4966046d9871b63084ddcf0ff6fac8a4c322aa.tar dexon-solidity-cb4966046d9871b63084ddcf0ff6fac8a4c322aa.tar.gz dexon-solidity-cb4966046d9871b63084ddcf0ff6fac8a4c322aa.tar.bz2 dexon-solidity-cb4966046d9871b63084ddcf0ff6fac8a4c322aa.tar.lz dexon-solidity-cb4966046d9871b63084ddcf0ff6fac8a4c322aa.tar.xz dexon-solidity-cb4966046d9871b63084ddcf0ff6fac8a4c322aa.tar.zst dexon-solidity-cb4966046d9871b63084ddcf0ff6fac8a4c322aa.zip |
Enable a single right hand item on let
Diffstat (limited to 'libsolidity/inlineasm/AsmData.h')
-rw-r--r-- | libsolidity/inlineasm/AsmData.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/inlineasm/AsmData.h b/libsolidity/inlineasm/AsmData.h index bf21ba00..65dfbadf 100644 --- a/libsolidity/inlineasm/AsmData.h +++ b/libsolidity/inlineasm/AsmData.h @@ -65,7 +65,7 @@ struct FunctionalAssignment { SourceLocation location; Identifier variableName; struct FunctionalInstruction { SourceLocation location; Instruction instruction; std::vector<Statement> arguments; }; struct FunctionCall { SourceLocation location; Identifier functionName; std::vector<Statement> arguments; }; /// Block-scope variable declaration ("let x:u256 := mload(20:u256)"), non-hoisted -struct VariableDeclaration { SourceLocation location; TypedNameList variables; std::vector<Statement> values; }; +struct VariableDeclaration { SourceLocation location; TypedNameList variables; std::shared_ptr<Statement> value; }; /// Block that creates a scope (frees declared stack variables) struct Block { SourceLocation location; std::vector<Statement> statements; }; /// Function definition ("function f(a, b) -> (d, e) { ... }") |