mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Remove scanner from compiler stack.
This commit is contained in:
committed by
Christian Parpart
parent
af18b8afc2
commit
ffc5cfd9a5
@@ -120,7 +120,7 @@ variant<unique_ptr<Block>, ErrorList> Program::parseObject(Dialect const& _diale
|
||||
{
|
||||
ErrorList errors;
|
||||
ErrorReporter errorReporter(errors);
|
||||
auto scanner = make_shared<Scanner>(move(_source));
|
||||
auto scanner = make_shared<Scanner>(_source);
|
||||
|
||||
ObjectParser parser(errorReporter, _dialect);
|
||||
shared_ptr<Object> object = parser.parse(scanner, false);
|
||||
|
||||
Reference in New Issue
Block a user