public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/18248] New: c_parse_error i18n problems
@ 2004-10-31 10:34 jsm28 at gcc dot gnu dot org
  2004-10-31 10:44 ` [Bug c++/18248] " gdr at cs dot tamu dot edu
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2004-10-31 10:34 UTC (permalink / raw)
  To: gcc-bugs

c_parse_error combines a string passed in with another part of a
sentence.  Combining sentence fragments cannot work with i18n.  The
source code must contain all the full sentences output even though this
bulks up the source by needing 8 different "expected .. before ..." in the
error function call for every parser error: only that way can all the
sentences be translated properly.  Making each call pass eight arguments
rather than one is fortunately a fairly mechanical change, as the new
arguments are derived from the existing one in a fixed way.

(Formerly part of comment#7 in bug 17852.)

-- 
           Summary: c_parse_error i18n problems
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Keywords: diagnostic
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jsm28 at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18248


^ permalink raw reply	[flat|nested] 6+ messages in thread
[parent not found: <bug-18248-4@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2011-12-14  9:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-31 10:34 [Bug c++/18248] New: c_parse_error i18n problems jsm28 at gcc dot gnu dot org
2004-10-31 10:44 ` [Bug c++/18248] " gdr at cs dot tamu dot edu
2004-10-31 10:58 ` joseph at codesourcery dot com
2004-10-31 14:11 ` gdr at cs dot tamu dot edu
2004-12-06 22:04 ` pinskia at gcc dot gnu dot org
     [not found] <bug-18248-4@http.gcc.gnu.org/bugzilla/>
2011-12-14  9:45 ` manu at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).