aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-05-02 16:24:35 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-05-05 21:21:25 +0800
commitf1f209db4032e7679ab39f0ac1591a43d943b153 (patch)
tree22b8808a58503326a4eec5fb3a5e9de9aaad3cfb
parentd61f9c4d4ee99cf0d540e3a7b6c7f250bab5f7b6 (diff)
downloaddexon-solidity-f1f209db4032e7679ab39f0ac1591a43d943b153.tar.gz
dexon-solidity-f1f209db4032e7679ab39f0ac1591a43d943b153.tar.zst
dexon-solidity-f1f209db4032e7679ab39f0ac1591a43d943b153.zip
Do not allow literal pushes in Julia
-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 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;