mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Disable labels in Julia
This commit is contained in:
parent
0582fcb93b
commit
d61f9c4d4e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user