nestlevel count per file

This commit is contained in:
ceriel
1987-08-10 10:43:51 +00:00
parent 371edcd97e
commit 555e7be7db
4 changed files with 4 additions and 2 deletions

View File

@@ -30,7 +30,6 @@ IMPORT char *getwdir();
PRIVATE char ifstack[IFDEPTH]; /* if-stack: the content of an entry is */
/* 1 if a corresponding ELSE has been */
/* encountered. */
int nestlevel = -1; /* initially no nesting level. */
PRIVATE char *
GetIdentifier()
@@ -263,6 +262,7 @@ do_include()
}
else {
WorkingDir = getwdir(result);
nestlevel = -1;
FileName = result;
LineNumber = 1;
}