aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/inlineasm/AsmData.h
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-05-17 18:21:37 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-05-26 10:20:10 +0800
commit66eab1caf63f9221a279abf71de953524fe9c2ad (patch)
treedeec1c6b67f411d4a1efdee9400640e5c61a989e /libsolidity/inlineasm/AsmData.h
parentb5080860d5f2d141b8fccceaa635378a86c996a8 (diff)
downloaddexon-solidity-66eab1caf63f9221a279abf71de953524fe9c2ad.tar.gz
dexon-solidity-66eab1caf63f9221a279abf71de953524fe9c2ad.tar.zst
dexon-solidity-66eab1caf63f9221a279abf71de953524fe9c2ad.zip
Change switch case string to Literal
Diffstat (limited to 'libsolidity/inlineasm/AsmData.h')
-rw-r--r--libsolidity/inlineasm/AsmData.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/inlineasm/AsmData.h b/libsolidity/inlineasm/AsmData.h
index 92ff1c5a..72afeef1 100644
--- a/libsolidity/inlineasm/AsmData.h
+++ b/libsolidity/inlineasm/AsmData.h
@@ -79,7 +79,7 @@ struct Block { SourceLocation location; std::vector<Statement> statements; };
/// Function definition ("function f(a, b) -> (d, e) { ... }")
struct FunctionDefinition { SourceLocation location; std::string name; TypedNameList arguments; TypedNameList returns; Block body; };
/// Switch case or default case
-struct Case { SourceLocation location; std::string name; Block body; };
+struct Case { SourceLocation location; std::shared_ptr<Literal> value; Block body; };
/// Switch statement
struct Switch { SourceLocation location; std::shared_ptr<Statement> expression; std::vector<Case> cases; };