Christian Parpart
2018-12-19 11:21:45 +01:00
parent 678a95f6e3
commit d10bae245e
7 changed files with 27 additions and 31 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ class Parser::ASTNodeFactory
{
public:
explicit ASTNodeFactory(Parser const& _parser):
m_parser(_parser), m_location(_parser.position(), -1, _parser.source()) {}
m_parser(_parser), m_location{_parser.position(), -1, _parser.source()} {}
ASTNodeFactory(Parser const& _parser, ASTPointer<ASTNode> const& _childNode):
m_parser(_parser), m_location(_childNode->location()) {}