aboutsummaryrefslogtreecommitdiff
path: root/arg.h
AgeCommit message (Collapse)Author
2019-07-06Handle argv = { NULL } in ARGBEGINMichael Forney
2019-07-06Minor tweaks to arg.hMichael Forney
Make sure EARGF() has type `char *` (rather than `void *`). Only advance opt_ when there is more left in the argument.
2019-04-06arg: Use (void *)0 instead of NULL in error case of conditional expressionMichael Forney
Even though NULL is a null pointer constant, the comma expression with NULL at the end is not. So, we must ensure that either the type of the comma expression is `char *` or `void *`, and we don't know this for NULL.
2019-02-12Initial importMichael Forney