fixed a bug with removing a node it shouldn't
parent
83479f6a2d
commit
ece2d9b83a
|
@ -273,9 +273,13 @@ resolve_constant_expressions(node_t **simplified, node_t *root)
|
|||
*((int64_t*)result->data) = ~*((int64_t*)result->data);
|
||||
break;
|
||||
}
|
||||
node_finalize(root);
|
||||
}
|
||||
else if (!root->data)
|
||||
node_finalize(root);
|
||||
else
|
||||
result = root;
|
||||
|
||||
node_finalize(root);
|
||||
break;
|
||||
|
||||
case 2:
|
||||
|
|
Loading…
Reference in New Issue