mirror of
https://github.com/Museum-of-Art-and-Digital-Entertainment/macross.git
synced 2024-06-03 06:29:42 +00:00
XXX Missing parameter in call to assembleStatementBody
assembleStatementBody has five parameters: assembleStatementBody(kind, body, cumulativeLineNumber, worryAboutIf, ifFixupList) statementKindType kind; statementBodyType body; int cumulativeLineNumber; bool worryAboutIf; simpleFixupListType **ifFixupList; but here it is called with only four. The third parameter is missing. I randomly inserted a 0.
This commit is contained in:
parent
2306979620
commit
086027b1b5
|
@ -128,7 +128,7 @@ assembleStructDefinitionBody(structBody)
|
||||||
expand(listableStatement(structBody->kindOfStatement) ?
|
expand(listableStatement(structBody->kindOfStatement) ?
|
||||||
(expandLabel(), tabIndent()) : 0);
|
(expandLabel(), tabIndent()) : 0);
|
||||||
assembleStatementBody(structBody->kindOfStatement,
|
assembleStatementBody(structBody->kindOfStatement,
|
||||||
structBody->statementBody, FALSE, &dummy);
|
structBody->statementBody, 0 /* random guess */, FALSE, &dummy);
|
||||||
if (currentFieldOffset > MAXIMUM_ALLOWED_STRUCT_SIZE) {
|
if (currentFieldOffset > MAXIMUM_ALLOWED_STRUCT_SIZE) {
|
||||||
error(STRUCT_TOO_BIG_ERROR);
|
error(STRUCT_TOO_BIG_ERROR);
|
||||||
return(NULL);
|
return(NULL);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user