This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch installed for missing specifiers in genautomata.c


 > From: Andrew Pinski <pinskia@physics.uc.edu>
 > 
 > On Tuesday, May 20, 2003, at 20:07 US/Eastern, Kaveh R. Ghazi wrote:
 > 
 > >            fprintf (output_description_file, "reservation ");
 > >            fprintf (output_description_file, "%s", DECL_RESERV 
 > > (decl)->name);
 > >            fprintf (output_description_file, ": ");
 > 
 > 
 > What about changing these into one printf now since we can have ISO C90:
 > 
 > fprintf(output_description_file, "reservation %s: ", DECL_RESERV 
 > (decl)->name);

Hmm you're right, done.

(BTW, we don't need any ISO feature here, this is legal K&R C too.
i.e. there's no string concatenation.)

--
Kaveh R. Ghazi			ghazi@caip.rutgers.edu


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]