aboutsummaryrefslogtreecommitdiffstats
path: root/libyul/ObjectParser.h
diff options
context:
space:
mode:
Diffstat (limited to 'libyul/ObjectParser.h')
-rw-r--r--libyul/ObjectParser.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libyul/ObjectParser.h b/libyul/ObjectParser.h
index 59efb8ab..e39f24cd 100644
--- a/libyul/ObjectParser.h
+++ b/libyul/ObjectParser.h
@@ -47,7 +47,7 @@ class ObjectParser: public langutil::ParserBase
public:
explicit ObjectParser(
langutil::ErrorReporter& _errorReporter,
- Dialect _dialect = Dialect::looseAssemblyForEVM()
+ std::shared_ptr<Dialect> _dialect
):
ParserBase(_errorReporter), m_dialect(std::move(_dialect)) {}
@@ -67,7 +67,7 @@ private:
YulString parseUniqueName(Object const* _containingObject);
void addNamedSubObject(Object& _container, YulString _name, std::shared_ptr<ObjectNode> _subObject);
- Dialect m_dialect;
+ std::shared_ptr<Dialect> m_dialect;
};
}