Rafael Ávila de Espíndola <[EMAIL PROTECTED]> writes:

| The attached patch fixes the following warnings
| 
| ../../gcc/gcc/treelang/parse.y: In function yyparse:
| ../../gcc/gcc/treelang/parse.y:532: warning: too many arguments for format
| ../../gcc/gcc/treelang/parse.y:641: warning: conversion lacks type at end of 
| format
| 
| I am not sure if this is the best fix. I could not find much documentation 
| about the syntax of the format string of "error" and "warning".

See the documentation for pp_base_format() in $GCC/gcc/pretty-print.c

| Because of 
| this, I have used similar messages present in other parts of gcc as examples.
| 
| bootstrapped and tested (make check-treelang) in i686.

The changes are basically OK.  As a bonus, you might to take the
opportunity to remove the trailing periods and decapitalize the first
words.

-- Gaby

Reply via email to