From f1f209db4032e7679ab39f0ac1591a43d943b153 Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Tue, 2 May 2017 09:24:35 +0100 Subject: Do not allow literal pushes in Julia --- libsolidity/inlineasm/AsmParser.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libsolidity/inlineasm/AsmParser.cpp b/libsolidity/inlineasm/AsmParser.cpp index 8d54d47a..07483f80 100644 --- a/libsolidity/inlineasm/AsmParser.cpp +++ b/libsolidity/inlineasm/AsmParser.cpp @@ -128,6 +128,8 @@ assembly::Statement Parser::parseStatement() } } default: + if (m_julia) + fatalParserError("Call or assignment expected."); break; } return statement; -- cgit v1.2.3