[Cocci] Python binding for expression list
mstefani at redhat.com
Thu Feb 9 15:45:07 CET 2012
the type of an expression metavariable when passed to python is
but an expression list gets flattened to a string aka
Can the expression list be passed instead as a list/array of 'instance'?
That way one could get to the expressions without having to write a
(simplified) C parser in python.
What I'm trying to do is to add additional checks to the Wine debug
functions ERR/FIXME/TRACE/WARN. Those are printf style functions with
varargs. While they do use __attribute__(format) there are stricter
checks that can be done for those. But those require the parsing of the
format string and thus the need to go through python.
More information about the Cocci