From 99db4e3ff45c2a8d5d9c645774f099b82b7618ec Mon Sep 17 00:00:00 2001 From: chriseth Date: Mon, 3 Dec 2018 15:49:23 +0100 Subject: Introduce the concept of builtin functions. --- test/tools/yulopti.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/tools') diff --git a/test/tools/yulopti.cpp b/test/tools/yulopti.cpp index 5273bbb9..e867f049 100644 --- a/test/tools/yulopti.cpp +++ b/test/tools/yulopti.cpp @@ -82,7 +82,7 @@ public: { ErrorReporter errorReporter(m_errors); shared_ptr scanner = make_shared(CharStream(_input, "")); - m_ast = yul::Parser(errorReporter, yul::AsmFlavour::Strict).parse(scanner, false); + m_ast = yul::Parser(errorReporter, yul::Dialect::strictAssemblyForEVM()).parse(scanner, false); if (!m_ast || !errorReporter.errors().empty()) { cout << "Error parsing source." << endl; @@ -95,7 +95,7 @@ public: errorReporter, EVMVersion::byzantium(), boost::none, - AsmFlavour::Strict + Dialect::strictAssemblyForEVM() ); if (!analyzer.analyze(*m_ast) || !errorReporter.errors().empty()) { -- cgit