mirror of
https://github.com/Museum-of-Art-and-Digital-Entertainment/macross.git
synced 2024-11-23 02:33:48 +00:00
addLabelToStatement: correctly create a dummy statementBodyType
This commit is contained in:
parent
9123e36a38
commit
606dfd1650
@ -45,7 +45,7 @@ addLabelToStatement(labelList, statement)
|
|||||||
statementType *newStatement();
|
statementType *newStatement();
|
||||||
|
|
||||||
if (statement == NULL)
|
if (statement == NULL)
|
||||||
statement = newStatement(NULL_STATEMENT, NULL);
|
statement = newStatement(NULL_STATEMENT, (statementBodyType){ NULL });
|
||||||
statement->labels = labelList;
|
statement->labels = labelList;
|
||||||
return(statement);
|
return(statement);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user