[patch,openacc] C, C++ OpenACC wait diagnostic change

Joseph Myers joseph@codesourcery.com
Wed Sep 26 20:28:00 GMT 2018


On Wed, 26 Sep 2018, Cesar Philippidis wrote:

> Attached is an old patch which updated the C and C++ FEs to use %<)%>
> for the right ')' symbol. It's mostly a cosmetic change. All of the
> changes are self-contained to the OpenACC code path.

Why is the "before ')'" included in the call to c_parser_error at all?  
c_parser_error calls c_parse_error which adds its own " before " and token 
description or expansion, so I'd expect the current error to result in a 
message ending in something of the form "before X before Y".

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Gcc-patches mailing list