mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix visitor.
This commit is contained in:
parent
2b2df31b0e
commit
a66b5ea0ad
@ -239,6 +239,8 @@ void VariableDeclaration::accept(ASTVisitor& _visitor)
|
||||
{
|
||||
if (m_typeName)
|
||||
m_typeName->accept(_visitor);
|
||||
if (m_overrides)
|
||||
m_overrides->accept(_visitor);
|
||||
if (m_value)
|
||||
m_value->accept(_visitor);
|
||||
}
|
||||
@ -251,6 +253,8 @@ void VariableDeclaration::accept(ASTConstVisitor& _visitor) const
|
||||
{
|
||||
if (m_typeName)
|
||||
m_typeName->accept(_visitor);
|
||||
if (m_overrides)
|
||||
m_overrides->accept(_visitor);
|
||||
if (m_value)
|
||||
m_value->accept(_visitor);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user