Re: [C++ PATCH] Fix namespace attribute error recovery (PR c++/85140)

2018-04-03 Thread Jason Merrill
OK. On Tue, Apr 3, 2018 at 12:06 PM, Jakub Jelinek wrote: > Hi! > > If at least one attribute is errorneous, we get error_mark_node instead > of the attributes list. > > The following patch fixes error recovery for that. Bootstrapped/regtested > on x86_64-linux and i686-linux, ok for trunk? > >

[C++ PATCH] Fix namespace attribute error recovery (PR c++/85140)

2018-04-03 Thread Jakub Jelinek
Hi! If at least one attribute is errorneous, we get error_mark_node instead of the attributes list. The following patch fixes error recovery for that. Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk? 2018-04-03 Jakub Jelinek PR c++/85140 * name-lookup.c (