fixed a problem with recursive macros: this was not always detected

This commit is contained in:
ceriel
1989-07-14 09:51:02 +00:00
parent b07825aee3
commit 09a52b8cf2
6 changed files with 21 additions and 20 deletions

View File

@@ -37,10 +37,12 @@ getwdir(fn)
int NoUnstack;
int Unstacked;
int InputLevel;
AtEoIT()
{
if (NoUnstack) warning("unexpected EOF");
InputLevel--;
DoUnstack();
return 0;
}