some fixes

This commit is contained in:
ceriel
1987-08-07 19:54:45 +00:00
parent 4623ed60b0
commit 16082b9056
4 changed files with 15 additions and 7 deletions

View File

@@ -40,13 +40,16 @@ int Unstacked;
AtEoIT()
{
if (NoUnstack) error("unexpected EOF");
if (NoUnstack) warning("unexpected EOF");
DoUnstack();
return 0;
}
AtEoIF()
{
if (NoUnstack) error("unexpected EOF");
extern int nestlevel;
if (nestlevel != -1) warning("missing #endif");
else if (NoUnstack) warning("unexpected EOF");
return 0;
}