This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Special handling of "%H" (Re: Support for %d$c format specifierindiagnostics.c)
"Joseph S. Myers" wrote:
>
> On Thu, 31 Jul 2003, Ishikawa wrote:
>
> > This is the latest cut for the patch to support positional format
> > specifiers for study/review.
>
> Please take care to follow the GNU Coding Standards. I'll point out some
> of the issues below, but only point out a particular issue once although
> it may appear elsewhere in the code as well; for each issue you should go
> through the code and fix it everywhere it occurs.
Thanks.
I'll edit the code and will be return in a few days.
--
int main(void){int j=2003;/*(c)2003 cishikawa. */
char t[] ="<CI> @abcdefghijklmnopqrstuvwxyz.,\n\"";
char *i ="g>qtCIuqivb,gCwe\np@.ietCIuqi\"tqkvv is>dnamz";
while(*i)((j+=strchr(t,*i++)-(int)t),(j%=sizeof t-1),
(putchar(t[j])));return 0;}/* under GPL */