mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-14 14:24:10 +02:00
Improved custom allocator expression parsing on delete statement
This commit is contained in:
parent
c2a2cf221a
commit
157d3f90e5
1 changed files with 1 additions and 1 deletions
|
@ -3828,7 +3828,7 @@ BfAstNode* BfReducer::DoCreateStatement(BfAstNode* node, CreateStmtFlags createS
|
||||||
|
|
||||||
if (deleteStmt->mAllocExpr == NULL)
|
if (deleteStmt->mAllocExpr == NULL)
|
||||||
{
|
{
|
||||||
auto allocExpr = CreateExpressionAfter(deleteStmt);
|
auto allocExpr = CreateExpressionAfter(deleteStmt, (CreateExprFlags)(CreateExprFlags_NoCast | CreateExprFlags_ExitOnParenExpr));
|
||||||
if (allocExpr != NULL)
|
if (allocExpr != NULL)
|
||||||
{
|
{
|
||||||
MEMBER_SET(deleteStmt, mAllocExpr, allocExpr);
|
MEMBER_SET(deleteStmt, mAllocExpr, allocExpr);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue