[PATCH] saner handling of argument lists
commit8793aa6363551e96ab623e2927fcc13bb7b84e69
authorAlexander Viro <viro@parcelfarce.linux.theplanet.co.uk>
Tue, 8 Jun 2004 18:23:40 +0000 (8 11:23 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 8 Apr 2005 04:02:06 +0000 (7 21:02 -0700)
treeef3adbdd252c555d4199e38bcd41bf6e03922c41
parent7e18e251c72d92c73b3b6cfcff0877bcb433fdb2
[PATCH] saner handling of argument lists

This does two things:
a) get C99 varargs to use the same mechanism as gcc ones use - all
we need is to internally convert final ... in the list to ident[__VA_ARGS__]
and set its ->next to &variable_argument.  After that we don't need any
special-casing for them.
b) take parsing the argument list in a separate function and does
it with all sanity checks; normally it ends up with fewer tests than old
variant.
pre-process.c
validation/preprocessor11.c [new file with mode: 0644]