Re: [PATCH 3/4] c/c++, asm: Use nicer error for const and restrict

2018-12-18 Thread Jason Merrill
On 12/10/18 5:47 PM, Segher Boessenkool wrote: Not all qualifiers are asm qualifiers. We can talk about that in a nicer way than just giving a generic parser error. This also adds two testcases for C++, that previously were for C only. 2018-12-10 Segher Boessenkool c/ * c-parser.c

[PATCH 3/4] c/c++, asm: Use nicer error for const and restrict

2018-12-10 Thread Segher Boessenkool
Not all qualifiers are asm qualifiers. We can talk about that in a nicer way than just giving a generic parser error. This also adds two testcases for C++, that previously were for C only. 2018-12-10 Segher Boessenkool c/ * c-parser.c (c_parser_asm_statement) : Give a more s