code cleanup: remove setting unread variable.

This commit is contained in:
Juho Hiltunen
2022-11-20 19:15:19 +02:00
parent 745ae078fb
commit e5f95289ad
+1 -3
View File
@@ -686,9 +686,7 @@ static int NextItem(CompileContext *ctx, int type)
if ((c == ')') || (c == '(') || (c == ',')) if ((c == ')') || (c == '(') || (c == ','))
ctx->item_terminator = c; ctx->item_terminator = c;
if ((c == ')') || (c == ',')) if (!feof(ctx->f_in) && !(c == ')' || c == ','))
c = ' ';
else if (!feof(ctx->f_in))
unget_char(ctx, c); unget_char(ctx, c);
if (type == tSTRING) if (type == tSTRING)