prevent null reference

This commit is contained in:
ceriel 1991-10-31 10:01:34 +00:00
parent 46b0f8ea19
commit 0b32f6d32f

View file

@ -823,6 +823,7 @@ DbRead(f)
else line_file->on_mptr = n->on_mptr;
break;
case N_MAIN:
if (! FileScope) fatal("No file scope");
newfile(FileScope->sc_definedby->sy_idf);
break;
case N_SLINE: