Fixing ungetc bad behavior under macOS Catalina by avoiding to ungetc a different char from the last getc

This commit is contained in:
BenTalagan
2019-11-16 22:32:07 +01:00
parent fe7aa87422
commit 3e0150a34f
+1 -2
View File
@@ -796,8 +796,7 @@ static int NextItem(int type)
if ((c == ')') || (c == ','))
c = ' ';
if (!feof(f_in))
else if (!feof(f_in))
unget_char(c);
if (type == tSTRING)