diff options
Diffstat (limited to 'gcc/cpplib.c')
-rw-r--r-- | gcc/cpplib.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/cpplib.c b/gcc/cpplib.c index eab9f31..e02ab69 100644 --- a/gcc/cpplib.c +++ b/gcc/cpplib.c @@ -226,6 +226,7 @@ start_directive (pfile) /* Some handlers need the position of the # for diagnostics. */ pfile->directive_pos = pfile->lexer_pos; + pfile->directive_pos.line = pfile->line; pfile->directive_line = pfile->line; /* Don't save directive tokens for external clients. */ |