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.
This commit is contained in:
parent
09d4e4f408
commit
8d10c5788f
1 changed files with 2 additions and 0 deletions
2
tccpp.c
2
tccpp.c
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue