Commit 9232b7d9 by Neil Booth Committed by Neil Booth

cpplib.c (do_line): Only warn pedantically if not reading preprocessed input.

	* cpplib.c (do_line): Only warn pedantically if not reading
        preprocessed input.

From-SVN: r37249
parent 532abb52
2000-11-04 Neil Booth <neilb@earthling.net>
* cpplib.c (do_line): Only warn pedantically if not reading
preprocessed input.
2000-11-04 Alexandre Oliva <aoliva@redhat.com>
* calls.c (emit_call_1) [sibcall_pop]: Use n_popped instead of
......
......@@ -743,7 +743,7 @@ do_line (pfile)
if (read_line_number (pfile, &action_number) != 0)
{
if (CPP_PEDANTIC (pfile))
if (! CPP_OPTION (pfile, preprocessed) && CPP_PEDANTIC (pfile))
cpp_pedwarn (pfile, "extra tokens at end of #line directive");
if (action_number == 1)
......
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