fixed mistake that caused undefined behaviour
This commit is contained in:
@@ -6,6 +6,7 @@
|
|||||||
namespace ast {
|
namespace ast {
|
||||||
if_then_else::if_then_else(token::token token)
|
if_then_else::if_then_else(token::token token)
|
||||||
: token(std::move(token)),
|
: token(std::move(token)),
|
||||||
|
condition(nullptr),
|
||||||
consequence(nullptr),
|
consequence(nullptr),
|
||||||
alternative(nullptr) {};
|
alternative(nullptr) {};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user