summaryrefslogtreecommitdiffstats
path: root/pyarg-parsetuple.cocci
Commit message (Collapse)AuthorAgeFilesLines
* Generalize variadic function handlingDavid Malcolm2009-11-171-78/+52
| | | | | | Avoid having to manually write a rule for each number of variable arguments to PyArg_ParseTuple etc by capturing each argument in turn (with lists of prior and subsequent expressions). The downside is that the rule is invoked once per argument at each callsite, with knowledge of only one type, rather than invoking it once per callsite with knowledge of all arguments. Thanks to Julia Lawall and Nicolas Palix
* Add LGPLv2.1 license to .cocci and .py file; introduce ↵David Malcolm2009-11-161-19/+75
| | | | PyArg_ParseTupleAndKeywords, reworking cocci file somewhat
* Minor cleanupsDavid Malcolm2009-11-141-4/+3
|
* Add current_element to error messagesDavid Malcolm2009-11-131-1/+1
|
* Count errors and exit with the count; cleanup spatch hooks; don't be fussy ↵David Malcolm2009-11-131-20/+67
| | | | about const; implement more of getargs.c
* Various fixupsDavid Malcolm2009-11-131-4/+9
|
* Move most python code to a new file (validate.py)David Malcolm2009-11-131-56/+20
|
* Initial commitDavid Malcolm2009-11-131-0/+69