------- Additional Comments From gdr at cs dot tamu dot edu 2004-10-31 10:44 ------- Subject: Re: New: c_parse_error i18n problems
"jsm28 at gcc dot gnu dot org" <[EMAIL PROTECTED]> writes: | 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. Notice that in all the cases where the sentences are combined, the parts all come from string lietrals. There ought to be a way to have the compiler build those (kind of compile-time introspection facilities). -- Gaby -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18248