From 9124a65c9845357f07ca9dd93e36c72165c2089b Mon Sep 17 00:00:00 2001 From: Peter De Wachter Date: Sat, 23 Jan 2016 19:12:10 +0100 Subject: [PATCH] buildMdoStatement: seems to have wrong argument type --- buildStuff1.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/buildStuff1.c b/buildStuff1.c index 5c9bdc3..695bffc 100644 --- a/buildStuff1.c +++ b/buildStuff1.c @@ -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); }