Added grind support
This commit is contained in:
@@ -14,7 +14,13 @@ extern int nestlevel;
|
||||
#include "nopp.h"
|
||||
#include <inp_pkg.body>
|
||||
|
||||
#include "dbsymtab.h"
|
||||
#ifndef NOPP
|
||||
#ifdef DBSYMTAB
|
||||
#include <stb.h>
|
||||
extern int IncludeLevel;
|
||||
extern char options[];
|
||||
#endif
|
||||
char *
|
||||
getwdir(fn)
|
||||
register char *fn;
|
||||
@@ -64,6 +70,12 @@ AtEoIF()
|
||||
if (NoUnstack) lexerror("unexpected EOF");
|
||||
#ifndef NOPP
|
||||
nestlevel = nestlow;
|
||||
#ifdef DBSYMTAB
|
||||
if (options['g'] && IncludeLevel > 0) {
|
||||
C_ms_std(FileName, N_EINCL, 0);
|
||||
}
|
||||
IncludeLevel--;
|
||||
#endif
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user