summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix various cases when parsing typesHEADmasterDavid Malcolm2009-11-171-16/+39
| | | | | | | | | | | | Fix the following cases: - tuples - 'L' and 'K' - 'D' - 's#' and 'z#' - 'et#' - 'w' and its variants Simplify type comparison by stripping off "const" and signedness modifiers from the front of types
* Generalize variadic function handlingDavid Malcolm2009-11-172-98/+79
| | | | | | 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-162-19/+91
| | | | PyArg_ParseTupleAndKeywords, reworking cocci file somewhat
* Minor cleanupsDavid Malcolm2009-11-143-9/+12
|
* Report the format string when reporting on errorsDavid Malcolm2009-11-141-21/+30
|
* Add current_element to error messagesDavid Malcolm2009-11-133-5/+14
|
* Fixup some issues and start adding unit tests for validate.pyDavid Malcolm2009-11-131-3/+34
|
* Count errors and exit with the count; cleanup spatch hooks; don't be fussy ↵David Malcolm2009-11-132-41/+189
| | | | about const; implement more of getargs.c
* add READMEDavid Malcolm2009-11-131-0/+16
|
* Various fixupsDavid Malcolm2009-11-132-23/+67
|
* Move most python code to a new file (validate.py)David Malcolm2009-11-132-56/+64
|
* Initial commitDavid Malcolm2009-11-132-0/+87