Skip to content
Snippets Groups Projects
Commit 7512289b authored by Mattias Ajander's avatar Mattias Ajander
Browse files

Init all variables to prevent segfault. ARGS is most likely done now.

parent 7cdf028b
No related branches found
No related tags found
No related merge requests found
...@@ -9,7 +9,7 @@ VariableNode::VariableNode( ...@@ -9,7 +9,7 @@ VariableNode::VariableNode(
} }
VariableNode::VariableNode(const SourceLocation& location, const String& identifier) : VariableNode::VariableNode(const SourceLocation& location, const String& identifier) :
ExpressionNode{location}, identifier{identifier} ExpressionNode{location}, identifier{identifier}, is_mutable{false}, type{TokenType::NONE}, value{nullptr}
{ {
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment