Introduce the concept of builtin functions.

This commit is contained in:
chriseth committed 2018-12-04 12:06:33 +01:00
1 parent e49f37be7f
commit 99db4e3ff4
16 files changed
+148 -62

No files matched your search

+1 -1
View File
@@ -104,7 +104,7 @@ shared_ptr<Block> ObjectParser::parseCode()
shared_ptr<Block> ObjectParser::parseBlock()
{
Parser parser(m_errorReporter, m_flavour);
Parser parser(m_errorReporter, m_dialect);
shared_ptr<Block> block = parser.parse(m_scanner, true);
yulAssert(block || m_errorReporter.hasErrors(), "Invalid block but no error!");
return block;