[gfortran,patch] Internationalisation of the Fortran front-end

Gabriel Dos Reis gdr@integrable-solutions.net
Thu Sep 1 23:08:00 GMT 2005


Steven Bosscher <stevenb@suse.de> writes:

| On Thursday 01 September 2005 16:38, Gabriel Dos Reis wrote:
| > François-Xavier Coudert <fxcoudert@gmail.com> writes:
| > | > | gfc_error ("Expected array subscript at %C") is marked as c-format,
| > | > | because %C is a valid printf-style format; in fact, it is used here
| > | > | in gfortran internal format to represent the current locus.
| > | >
| > | > Passing locus around is specified with %H.
| > |
| > | gfortran doesn't use locus in the same sense that other front-end
| > | routines.
| >
| > that is a bug.
| 
| No, it is just different historically.  Gfortran has its own diagnostics
| reporting system, and at some point, when the generic system used by the
| C family front ends finally gets support for carets, it should be changed
| to use that instead.  Until then, this is not a bug in gfortran, but a
| shortcoming of the generic system.

No.  The current scheme used in gfortran finds its place in the
current diagnostic machinery: Have BEGIN_DIAGNOSTIC output the carret,
and let the general machinery handle the rest. 

| 
| 
| Gr.
| Steven

-- 
                                                       Gabriel Dos Reis 
                                           gdr@integrable-solutions.net



More information about the Fortran mailing list