[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS: cvs.openbsd.org: src

Module name:	src
Changes by:	cloder_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org	2006/04/17 20:59:40

Modified files:
	usr.bin/xlint/lint1: externs1.h func.c init.c lint1.h tree.c 

Log message:
The old way of passing function argument information was to pass an int
which corresponded to the argument # (1-based, with 0 meaning it is not
an argument). This sucked because it is impossible to include the function
name or argument name in warnings when all you have is an argument number.
Introduce a new type farg_t which represents a passed function argument.
struct farg contains argument number, function name, and argument symbol
information from the prototype).

Visit your host, monkey.org