This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] OpenACC fortran front end


On Fri, 14 Nov 2014, Jakub Jelinek wrote:

> You want
> 	gfc_error (is_oacc (p)
> 		   ? "%s statement at %C leaving OpenACC structured block"
> 		   : "%s statement at %C leaving OpenMP structured block",
> 		   gfc_ascii_statement (st));
> instead to be more translation friendly.

Does gettext now extract both halves of a conditional expression?  At 
least at one point it was necessary to use an if statement, or mark up 
both strings with G_() to get them extracted.

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]