Add a debug info when a #line directive is handled.

The problem was: a debug info for the file which contain a #line
directive (for example a preprocessed one) was wrong.
master
seyko 2015-03-03 14:46:44 +03:00
parent 09d4e4f408
commit 8d10c5788f
1 changed files with 2 additions and 0 deletions

View File

@ -1687,6 +1687,8 @@ include_done:
pstrcpy(file->filename, sizeof(file->filename),
(char *)tokc.cstr->data);
}
if (s1->do_debug)
put_stabs(file->filename, N_BINCL, 0, 0, 0);
break;
case TOK_ERROR:
case TOK_WARNING: