Merge pull request #2193 from ethereum/julia-assign-stack

Disallow assign from stack in Julia (=: var)
This commit is contained in:
chriseth 2017-04-27 22:00:33 +02:00 committed by GitHub
commit f9bccab7b7

View File

@ -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);