mirror of
https://github.com/Museum-of-Art-and-Digital-Entertainment/macross.git
synced 2024-06-16 02:29:29 +00:00
buildMdoStatement: seems to have wrong argument type
This commit is contained in:
parent
606dfd1650
commit
9124a65c98
|
@ -355,16 +355,16 @@ buildMdoWhileStatement(body, condition)
|
|||
statementType *
|
||||
buildMdoStatement(body, end)
|
||||
blockType *body;
|
||||
doEndType *end;
|
||||
mdoEndType *end;
|
||||
{
|
||||
statementType *result;
|
||||
|
||||
if (end->doEndKind == UNTIL_END)
|
||||
result = buildMdoUntilStatement(body, end->doEndCondition);
|
||||
else if (end->doEndKind == WHILE_END)
|
||||
result = buildMdoWhileStatement(body, end->doEndCondition);
|
||||
if (end->mdoEndKind == UNTIL_END)
|
||||
result = buildMdoUntilStatement(body, end->mdoEndCondition);
|
||||
else if (end->mdoEndKind == WHILE_END)
|
||||
result = buildMdoWhileStatement(body, end->mdoEndCondition);
|
||||
else
|
||||
botch("bad mdo-end kind: %d\n", end->doEndCondition);
|
||||
botch("bad mdo-end kind: %d\n", end->mdoEndCondition);
|
||||
qfree(end);
|
||||
return(result);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user