mirror of
https://github.com/Museum-of-Art-and-Digital-Entertainment/macross.git
synced 2024-11-26 22:51:04 +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();
|
||||
|
||||
if (statement == NULL)
|
||||
statement = newStatement(NULL_STATEMENT, NULL);
|
||||
statement = newStatement(NULL_STATEMENT, (statementBodyType){ NULL });
|
||||
statement->labels = labelList;
|
||||
return(statement);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user