diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-05-02 00:40:37 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-05-05 21:21:25 +0800 |
commit | d61f9c4d4ee99cf0d540e3a7b6c7f250bab5f7b6 (patch) | |
tree | 0fc2ee9859c412409570d29bea4274e132b3bc9f | |
parent | 0582fcb93b2407379b5e4e4ce55c3f418e7ff433 (diff) | |
download | dexon-solidity-d61f9c4d4ee99cf0d540e3a7b6c7f250bab5f7b6.tar.gz dexon-solidity-d61f9c4d4ee99cf0d540e3a7b6c7f250bab5f7b6.tar.zst dexon-solidity-d61f9c4d4ee99cf0d540e3a7b6c7f250bab5f7b6.zip |
Disable labels in Julia
-rw-r--r-- | libsolidity/inlineasm/AsmParser.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libsolidity/inlineasm/AsmParser.cpp b/libsolidity/inlineasm/AsmParser.cpp index d7f78958..8d54d47a 100644 --- a/libsolidity/inlineasm/AsmParser.cpp +++ b/libsolidity/inlineasm/AsmParser.cpp @@ -84,6 +84,7 @@ assembly::Statement Parser::parseStatement() } case Token::Return: // opcode case Token::Byte: // opcode + case Token::Address: // opcode default: break; } @@ -119,6 +120,8 @@ assembly::Statement Parser::parseStatement() else { // label + if (m_julia) + fatalParserError("Labels are not supported."); Label label = createWithLocation<Label>(identifier.location); label.name = identifier.name; return label; |