diff options
author | chriseth <chris@ethereum.org> | 2018-12-03 22:49:23 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2018-12-04 19:06:33 +0800 |
commit | 99db4e3ff45c2a8d5d9c645774f099b82b7618ec (patch) | |
tree | 9f61e6b6192141bf9233f49a4a2c36e5c26ca8df /test/tools | |
parent | e49f37be7f64d0306c2e63cea81eb98aa1bc85f1 (diff) | |
download | dexon-solidity-99db4e3ff45c2a8d5d9c645774f099b82b7618ec.tar.gz dexon-solidity-99db4e3ff45c2a8d5d9c645774f099b82b7618ec.tar.zst dexon-solidity-99db4e3ff45c2a8d5d9c645774f099b82b7618ec.zip |
Introduce the concept of builtin functions.
Diffstat (limited to 'test/tools')
-rw-r--r-- | test/tools/yulopti.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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> scanner = make_shared<Scanner>(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()) { |