Re: [C++ Patch] PR 57880

2013-07-25 Thread Jason Merrill
OK. Jason

Re: [C++ Patch] PR 57880

2013-07-24 Thread Paolo Carlini
On 07/25/2013 03:35 AM, Jason Merrill wrote: You need to have tests for the other string prefixes, since you're changing the code for them. Oh yes, something like this? (believe me, I had it, but then the last minute I simplified the testcase because the last lines didn't seem to exercise any

Re: [C++ Patch] PR 57880

2013-07-24 Thread Jason Merrill
You need to have tests for the other string prefixes, since you're changing the code for them. Jason

[C++ Patch] PR 57880

2013-07-24 Thread Paolo Carlini
Hi, submitter ran a static analysis tool on parser.c and found in the main switch of cp_parser_operator some broken cases having to do with user defined literals. When I looked into it I found a rather convoluted logic which tried to possibly emit *both* the error message for and invalid enco