From 5a8a65b1c9077b659fc1982d621c00cca1da8fd8 Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Tue, 16 Sep 2003 00:13:28 +0000 Subject: [PATCH] * cpplib.c (do_pragma): Remove unnecessary cb_line_change. From-SVN: r71416 --- gcc/ChangeLog | 4 ++++ gcc/cpplib.c | 8 -------- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5c007028e9a..dee5ae103c0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2003-09-15 Alexandre Oliva + + * cpplib.c (do_pragma): Remove unnecessary cb_line_change. + 2003-09-15 Bob Wilson * config/xtensa/xtensa.c (xtensa_multibss_section_type_flags): Add diff --git a/gcc/cpplib.c b/gcc/cpplib.c index 844a5daec6e..6a0f3e0d64b 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) -- 2.30.2