From d61f9c4d4ee99cf0d540e3a7b6c7f250bab5f7b6 Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Mon, 1 May 2017 17:40:37 +0100 Subject: [PATCH] Disable labels in Julia --- libsolidity/inlineasm/AsmParser.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libsolidity/inlineasm/AsmParser.cpp b/libsolidity/inlineasm/AsmParser.cpp index d7f789583..8d54d47ad 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