Commit 2f5bf149 by Neil Booth Committed by Neil Booth

* cpplib.c (do_line): Sanity check iff enable checking.

From-SVN: r41265
parent b6285d1b
2001-04-11 Neil Booth <neil@daikokuya.demon.co.uk>
* cpplib.c (do_line): Sanity check iff enable checking.
2001-04-11 Richard Henderson <rth@redhat.com>
* Makefile.in (insn-recog.o): Depend on toplev.h.
......
......@@ -774,6 +774,7 @@ do_line (pfile)
{
cpp_pop_buffer (pfile);
buffer = pfile->buffer;
#ifdef ENABLE_CHECKING
if (strcmp (buffer->nominal_fname, fname))
cpp_warning (pfile, "expected to return to file \"%s\"",
buffer->nominal_fname);
......@@ -783,6 +784,7 @@ do_line (pfile)
if (buffer->sysp != sysp)
cpp_warning (pfile, "header flags for \"%s\" have changed",
buffer->nominal_fname);
#endif
}
}
buffer->sysp = sysp;
......
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