aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/inlineasm
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-04-28 04:00:33 +0800
committerGitHub <noreply@github.com>2017-04-28 04:00:33 +0800
commitf9bccab7b744c786f1eb12fad5cc0e499d0f1075 (patch)
tree7a6787ddd5e4c3a6dcebe16ff7f88de92f30203b /libsolidity/inlineasm
parent6776be33a83cf1326a372b14afb718da226125f7 (diff)
parent20206a04dd276d1f1d80aa9318328728fea13025 (diff)
downloaddexon-solidity-f9bccab7b744c786f1eb12fad5cc0e499d0f1075.tar.gz
dexon-solidity-f9bccab7b744c786f1eb12fad5cc0e499d0f1075.tar.zst
dexon-solidity-f9bccab7b744c786f1eb12fad5cc0e499d0f1075.zip
Merge pull request #2193 from ethereum/julia-assign-stack
Disallow assign from stack in Julia (=: var)
Diffstat (limited to 'libsolidity/inlineasm')
-rw-r--r--libsolidity/inlineasm/AsmParser.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/libsolidity/inlineasm/AsmParser.cpp b/libsolidity/inlineasm/AsmParser.cpp
index 848e488d..d7f78958 100644
--- a/libsolidity/inlineasm/AsmParser.cpp
+++ b/libsolidity/inlineasm/AsmParser.cpp
@@ -69,6 +69,8 @@ assembly::Statement Parser::parseStatement()
return parseBlock();
case Token::Assign:
{
+ if (m_julia)
+ break;
assembly::Assignment assignment = createWithLocation<assembly::Assignment>();
m_scanner->next();
expectToken(Token::Colon);