fix dot crashing in multiple places

This commit is contained in:
2026-10-07 18:11:39 +03:00
parent 8bc359fed6
commit 0777faa11d
3 changed files with 17 additions and 4 deletions
+2 -1
View File
@@ -302,11 +302,12 @@ public:
// if value, left and right hands should be null
explicit TreeNode(void)
: l(nullptr), r(nullptr), o()
{
}
explicit TreeNode(const Token t)
: o(t)
: l(nullptr), r(nullptr), o(t)
{
}