warning: pasting would not give a valid preprocessing token

Byron Stanoszek gandalf@winds.org
Fri Sep 15 16:53:00 GMT 2000


On Thu, 14 Sep 2000, Neil Booth wrote:

> Byron,
> 
> I hope this fixes it for you.  I'm bootstrapping now, and will then
> run the testsuite.

This works like a charm. Thanks for the speedy bugfix!

 -Byron

> 	* cpplex.c (ON_REST_ARG): Correct the test.
> 	(maybe_paste_with_next): Duplicate a token that fail pasting,
> 	and clear its PASTE_LEFT flag, so that nested pasting attempts
> 	do not occur.
> 	* gcc.dg/cpp/paste10.c: Testcase.

-- 
Byron Stanoszek                         Ph: (330) 644-3059
Systems Programmer                      Fax: (330) 644-8110
Commercial Timesharing Inc.             Email: bstanoszek@comtime.com



More information about the Gcc mailing list