[PATCH][RFC] Automatized pattern matching

Zdenek Dvorak rakdver@atrey.karlin.mff.cuni.cz
Sat Jun 7 00:01:00 GMT 2003


Hello,

> > /* Pattern matching utilities.
> >    Copyright (C) 2002 Free Software Foundation, Inc.
> 
> Has this really been sitting around unmodified since 2002?

surely not; just cut & paste.

> > int main					PARAMS ((int, char **));
> 
> As a new file, you should be using ISO C style throughout.

then please inform about this in documentation.  I would probably know
about it if I read my mails more thoroughly, but any newbie will be
confused when he finds the folowing paragraph in the coding standard:

"You need to provide a function prototype for every function before you
use it, and functions had to be defined K+R style.  The function
prototype should have used the PARAMS macro, which takes a single
argument.  Therefore the parameter list had to be enclosed in
parentheses.  For example, ..."

Zdenek



More information about the Gcc-patches mailing list