diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2003-09-16 00:13:28 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@gcc.gnu.org> | 2003-09-16 00:13:28 +0000 |
commit | 5a8a65b1c9077b659fc1982d621c00cca1da8fd8 (patch) | |
tree | 53e28a4f1401f493760bdfcd77ccad3d4a5848a7 /gcc/cpplib.c | |
parent | cadafd1ffdceb92393f7394d763f66faf4598340 (diff) | |
download | gcc-5a8a65b1c9077b659fc1982d621c00cca1da8fd8.zip gcc-5a8a65b1c9077b659fc1982d621c00cca1da8fd8.tar.gz gcc-5a8a65b1c9077b659fc1982d621c00cca1da8fd8.tar.bz2 |
* cpplib.c (do_pragma): Remove unnecessary cb_line_change.
From-SVN: r71416
Diffstat (limited to 'gcc/cpplib.c')
-rw-r--r-- | gcc/cpplib.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/gcc/cpplib.c b/gcc/cpplib.c index 844a5da..6a0f3e0 100644 --- a/gcc/cpplib.c +++ b/gcc/cpplib.c @@ -1140,14 +1140,6 @@ do_pragma (cpp_reader *pfile) } } - /* FIXME. This is an awful kludge to get the front ends to update - their notion of line number for diagnostic purposes. The line - number should be passed to the handler and they should do it - themselves. Stand-alone CPP must ignore us, otherwise it will - prefix the directive with spaces, hence the 1. Ugh. */ - if (pfile->cb.line_change) - pfile->cb.line_change (pfile, token, 1); - if (p) p->u.handler (pfile); else if (pfile->cb.def_pragma) |