not finding an include file is fatal

This commit is contained in:
ceriel 1987-08-17 14:36:55 +00:00
parent c7990b3d31
commit 46589d5798

View file

@ -242,7 +242,7 @@ do_include()
inctable[0] = WorkingDir; inctable[0] = WorkingDir;
if (filenm) { if (filenm) {
if (!InsertFile(filenm, &inctable[tok==FILESPECIFIER],&result)){ if (!InsertFile(filenm, &inctable[tok==FILESPECIFIER],&result)){
lexerror("cannot find include file \"%s\"", filenm); fatal("cannot find include file \"%s\"", filenm);
} }
else { else {
WorkingDir = getwdir(result); WorkingDir = getwdir(result);