argument parsing: set structure field even if setter is available
commitd331765d9d14594016820253991c9efba0082bdf
authorSven Verdoolaege <skimo@kotnet.org>
Wed, 20 Feb 2013 11:34:49 +0000 (20 12:34 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Wed, 20 Feb 2013 15:51:53 +0000 (20 16:51 +0100)
treec655f038ca55908cadc43d6c30a6eec911af579b
parent0524f69bc444d33a2efa36233c48daa9ba23a8bf
argument parsing: set structure field even if setter is available

If a setter is available for an option, we would only call the setter
and not make any changes to the structure field itself.  It turns out
that the first thing each of the setters does is to set the structure
field to the given value, so we might as well do that directly.
We set the value before calling the setter such that the setter can
still override the value.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_arg.c