Commit 5a8a65b1 by Alexandre Oliva Committed by Alexandre Oliva

* cpplib.c (do_pragma): Remove unnecessary cb_line_change.

From-SVN: r71416
parent cadafd1f
2003-09-15 Alexandre Oliva <aoliva@redhat.com>
* cpplib.c (do_pragma): Remove unnecessary cb_line_change.
2003-09-15 Bob Wilson <bob.wilson@acm.org>
* config/xtensa/xtensa.c (xtensa_multibss_section_type_flags): Add
......
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment