The presence of the [0] indicates that the value of a position variable is an
array. This is the case for python. In ocaml, the value is a list.
How do you think about the use of iterator and generator types?
http://docs.python.org/py3k/library/stdtypes.html#iterator-types
Would you like to support such interfaces by your API better?
http://en.wikipedia.org/wiki/Iterator#Python
A single position variable can be bound to many values in a nest, eg:
if (...) { <... foo@p(...); ...> }
I find that it can become a challenge to process multiple matches from the
source code properly.
Regards,
Markus
_______________________________________________
Cocci mailing list
[email protected]
http://lists.diku.dk/mailman/listinfo/cocci
(Web access from inside DIKUs LAN only)