try_arg(): don't use arglist for argument name lookups
Just store them into a global array and search there. That allows to
get rid of mangling ... in the arglist along with the is_VA_ARGS_token()
kludge. For now we still need to access the arglist in try_arg(),
but that's going away as soon as we get rid of the use counters...
Added a check for duplicate argument names, while we are at it - we
didn't do that.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Chris Li <sparse@chrisli.org>
3 files changed