Do not use '#endif/#else xxx'; it is not allowed for ANSI C

This commit is contained in:
ceriel
1991-12-17 14:11:15 +00:00
parent a3bbaf4940
commit 7d78a01b64
56 changed files with 343 additions and 345 deletions

View File

@@ -46,7 +46,7 @@ getwdir(fn)
}
int InputLevel;
#endif NOPP
#endif /* NOPP */
int NoUnstack;
@@ -56,7 +56,7 @@ AtEoIT()
/* if (NoUnstack) lexwarning("unexpected EOF"); ??? */
DoUnstack();
InputLevel--;
#endif NOPP
#endif /* NOPP */
return 0;
}
@@ -66,7 +66,7 @@ AtEoIF()
if (nestlevel != nestlow) lexwarning("missing #endif");
else
#endif NOPP
#endif /* NOPP */
if (NoUnstack) lexerror("unexpected EOF");
#ifndef NOPP
nestlevel = nestlow;