mirror of
https://github.com/Museum-of-Art-and-Digital-Entertainment/macross.git
synced 2024-09-28 17:54:59 +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 *
|
statementType *
|
||||||
buildMdoStatement(body, end)
|
buildMdoStatement(body, end)
|
||||||
blockType *body;
|
blockType *body;
|
||||||
doEndType *end;
|
mdoEndType *end;
|
||||||
{
|
{
|
||||||
statementType *result;
|
statementType *result;
|
||||||
|
|
||||||
if (end->doEndKind == UNTIL_END)
|
if (end->mdoEndKind == UNTIL_END)
|
||||||
result = buildMdoUntilStatement(body, end->doEndCondition);
|
result = buildMdoUntilStatement(body, end->mdoEndCondition);
|
||||||
else if (end->doEndKind == WHILE_END)
|
else if (end->mdoEndKind == WHILE_END)
|
||||||
result = buildMdoWhileStatement(body, end->doEndCondition);
|
result = buildMdoWhileStatement(body, end->mdoEndCondition);
|
||||||
else
|
else
|
||||||
botch("bad mdo-end kind: %d\n", end->doEndCondition);
|
botch("bad mdo-end kind: %d\n", end->mdoEndCondition);
|
||||||
qfree(end);
|
qfree(end);
|
||||||
return(result);
|
return(result);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user