not finding an include file is fatal
This commit is contained in:
parent
c7990b3d31
commit
46589d5798
@ -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);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user